Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Lowercase npm packages #3807

Merged
merged 1 commit into from
Dec 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions js/npm/etherscan/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @parity/Etherscan
# @parity/etherscan

A thin, lightweight promise wrapper for the api.etherscan.io/apis service, exposing a common endpoint for use in JavaScript applications.

Expand All @@ -9,13 +9,13 @@ A thin, lightweight promise wrapper for the api.etherscan.io/apis service, expos
installation -

```
npm install --save @parity/Etherscan
npm install --save @parity/etherscan
```

Usage -

```
const etherscan = require('@parity/Etherscan');
const etherscan = require('@parity/etherscan');

// api calls goes here
```
Expand Down
2 changes: 1 addition & 1 deletion js/npm/etherscan/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@parity/Etherscan",
"name": "@parity/etherscan",
"description": "The Parity Promise-based library for interfacing with Etherscan over HTTP",
"version": "0.0.0",
"main": "library.js",
Expand Down
6 changes: 3 additions & 3 deletions js/npm/shapeshift/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @parity/ShapeShift
# @parity/shapeshift

A thin ES6 promise wrapper around the shapeshift.io APIs as documented at https://shapeshift.io/api

Expand All @@ -9,14 +9,14 @@ A thin ES6 promise wrapper around the shapeshift.io APIs as documented at https:
installation -

```
npm install --save @parity/ShapeShift
npm install --save @parity/shapeshift
```

Usage -

```
const APIKEY = 'private affiliate key or undefined';
const shapeshift = require('@parity/ShapeShift')(APIKEY);
const shapeshift = require('@parity/shapeshift')(APIKEY);

// api calls goes here
```
Expand Down
2 changes: 1 addition & 1 deletion js/npm/shapeshift/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@parity/ShapeShift",
"name": "@parity/shapeshift",
"description": "The Parity Promise-based library for interfacing with ShapeShift over HTTP",
"version": "0.0.0",
"main": "library.js",
Expand Down
4 changes: 2 additions & 2 deletions js/scripts/dryrun-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

# variables
PACKAGES=( "Parity" "Etherscan" "ShapeShift" )
PACKAGES=( "parity" "etherscan" "shapeshift" )

# change into the build directory
BASEDIR=`dirname $0`
Expand All @@ -16,7 +16,7 @@ for PACKAGE in ${PACKAGES[@]}
do
echo "*** Building $PACKAGE"
LIBRARY=$PACKAGE npm run ci:build:npm
DIRECTORY=.npmjs/$(echo $PACKAGE | tr '[:upper:]' '[:lower:]')
DIRECTORY=.npmjs/$PACKAGE

cd $DIRECTORY
echo "*** Executing $PACKAGE tests from $DIRECTORY"
Expand Down
4 changes: 2 additions & 2 deletions js/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

# variables
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
PACKAGES=( "Parity" "Etherscan" "ShapeShift" )
PACKAGES=( "parity" "etherscan" "shapeshift" )
BRANCH=$CI_BUILD_REF_NAME
GIT_JS_PRECOMPILED="https://${GITHUB_JS_PRECOMPILED}:@github.com/ethcore/js-precompiled.git"
GIT_PARITY="https://${GITHUB_JS_PRECOMPILED}:@github.com/ethcore/parity.git"
Expand Down Expand Up @@ -71,7 +71,7 @@ if [ "$BRANCH" == "master" ]; then
do
echo "*** Building $PACKAGE"
LIBRARY=$PACKAGE npm run ci:build:npm
DIRECTORY=.npmjs/$(echo $PACKAGE | tr '[:upper:]' '[:lower:]')
DIRECTORY=.npmjs/$PACKAGE

echo "*** Publishing $PACKAGE from $DIRECTORY"
cd $DIRECTORY
Expand Down