Lowercase npm packages (#3807)

This commit is contained in:
Jaco Greeff 2016-12-11 10:30:30 +01:00 committed by GitHub
parent 17dee5f1a2
commit 0a37288aa4
6 changed files with 12 additions and 12 deletions

View File

@ -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.
@ -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
```

View File

@ -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",

View File

@ -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
@ -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
```

View File

@ -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",

View File

@ -2,7 +2,7 @@
set -e
# variables
PACKAGES=( "Parity" "Etherscan" "ShapeShift" )
PACKAGES=( "parity" "etherscan" "shapeshift" )
# change into the build directory
BASEDIR=`dirname $0`
@ -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"

View File

@ -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"
@ -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