aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-18 22:08:37 +0800
committerFabio Berger <me@fabioberger.com>2018-03-18 22:08:37 +0800
commit644deee8b5ac16526e046b74e3a2ab41a50b6727 (patch)
treef6522a54c9a5ea243aaccde3248236b011cdc629 /packages/connect
parentc7302c46e57c4646dbbd0004e09e987b720b5815 (diff)
downloaddexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.gz
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.bz2
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.lz
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.xz
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.tar.zst
dexon-sol-tools-644deee8b5ac16526e046b74e3a2ab41a50b6727.zip
Standardize all doc commands and add `docs:stage` shortcut
Diffstat (limited to 'packages/connect')
-rw-r--r--packages/connect/package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/connect/package.json b/packages/connect/package.json
index 63ca61693..01806092d 100644
--- a/packages/connect/package.json
+++ b/packages/connect/package.json
@@ -15,15 +15,16 @@
"build:watch": "tsc -w",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf _bundles lib test_temp scripts",
- "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",
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"run_mocha": "mocha lib/test/**/*_test.js",
"test": "run-s clean build copy_test_fixtures run_mocha",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
- "test:circleci": "yarn test:coverage"
+ "test:circleci": "yarn test:coverage",
+ "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": {
"postpublish": {