aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-18 03:19:12 +0800
committerFabio Berger <me@fabioberger.com>2017-11-18 03:19:12 +0800
commit0402d3de802ba262bb820d582baa157ca9c8ba54 (patch)
tree113c39dc3249521ebf7d3924f614ea060bcd022b /packages/0x.js/package.json
parente70c3976db61bfe2038b0d56ea196412215aae4f (diff)
downloaddexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar.gz
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar.bz2
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar.lz
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar.xz
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.tar.zst
dexon-sol-tools-0402d3de802ba262bb820d582baa157ca9c8ba54.zip
Move upload_docs_json back to npm script and pass in vars properly.
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r--packages/0x.js/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 10ace5529..e1f0bb93e 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -14,7 +14,8 @@
"scripts": {
"prebuild": "npm run clean",
"build": "run-p build:umd:prod build:commonjs; exit 0;",
- "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $1 $2",
+ "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_DIR",
+ "upload_docs_json": "aws s3 cp docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json",
"lint": "tslint src/**/*.ts test/**/*.ts",
"test:circleci": "run-s test:coverage report_test_coverage; if [ $CIRCLE_BRANCH = \"development\" ]; then yarn test:umd; fi",
"test": "run-s clean test:commonjs",