diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-18 22:08:37 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-18 22:08:37 +0800 |
commit | 644deee8b5ac16526e046b74e3a2ab41a50b6727 (patch) | |
tree | f6522a54c9a5ea243aaccde3248236b011cdc629 /packages/0x.js | |
parent | c7302c46e57c4646dbbd0004e09e987b720b5815 (diff) | |
download | dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.gz dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.zst dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.zip |
Standardize all doc commands and add `docs:stage` shortcut
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 4bc0cc193..3c2322227 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -15,8 +15,6 @@ "build:watch": "tsc -w", "prebuild": "run-s clean generate_contract_wrappers", "build": "run-p build:umd:prod build:commonjs; exit 0;", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", - "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json", "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'src/artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", "test:circleci": "run-s test:coverage", @@ -28,7 +26,10 @@ "build:umd:prod": "NODE_ENV=production webpack", "build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "test:commonjs": "run-s build:commonjs run_mocha", - "run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit" + "run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit", + "docs:stage": "yarn build && node ./scripts/stagedocs.js", + "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", + "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" }, "config": { "artifacts": "TokenTransferProxy Exchange TokenRegistry Token EtherToken", |