aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-18 08:30:51 +0800
committerGitHub <noreply@github.com>2017-11-18 08:30:51 +0800
commit98394c6e37ee2538f18d7c427fd72cbf23f3207d (patch)
tree188aa6be60a37ad0d7e53edcfc7c9975f93fa845 /packages/0x.js/package.json
parent5042b85d218bd17dcf0ebf9b3127dd30c5bb5962 (diff)
parent37a9b64503edc8fe750dad02a7a45d8303f9ba04 (diff)
downloaddexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar.gz
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar.bz2
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar.lz
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar.xz
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.tar.zst
dexon-sol-tools-98394c6e37ee2538f18d7c427fd72cbf23f3207d.zip
Merge pull request #228 from 0xProject/feature/publishLifecycleScripts
Add postpublish scripts for sub-packages
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r--packages/0x.js/package.json10
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 0204d723f..7aa360954 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -14,10 +14,8 @@
"scripts": {
"prebuild": "npm run clean",
"build": "run-p build:umd:prod build:commonjs; exit 0;",
- "prepublishOnly": "run-p build",
- "postpublish": "run-s release docs:json upload_docs_json",
- "release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js",
- "upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json",
+ "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",
@@ -25,9 +23,6 @@
"test:coverage": "nyc npm run test --all",
"report_test_coverage": "nyc report --reporter=text-lcov | coveralls",
"update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ../contracts/build/contracts/$i.json ../0x.js/src/artifacts; done;",
- "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json docs/index.json .",
- "docs:generate": "typedoc --out docs .",
- "docs:open": "opn docs/index.html",
"clean": "shx rm -rf _bundles lib test_temp",
"build:umd:dev": "webpack",
"build:umd:prod": "NODE_ENV=production webpack",
@@ -99,7 +94,6 @@
"find-versions": "^2.0.0",
"js-sha3": "^0.6.1",
"lodash": "^4.17.4",
- "publish-release": "^1.3.3",
"uuid": "^3.1.0",
"web3": "^0.20.0"
}