Auto-upload json docs on release
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
"prebuild": "npm run clean",
|
||||
"build": "run-p build:*:prod",
|
||||
"prepublish": "run-p build:umd:prod build:commonjs:dev",
|
||||
"postpublish": "publish-release --assets _bundles/index.js,_bundles/index.min.js",
|
||||
"postpublish": "run-s release docs:json upload_docs_json",
|
||||
"release": "publish-release --assets _bundles/index.js,_bundles/index.min.js",
|
||||
"upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json",
|
||||
"lint": "tslint src/*.ts test/*.ts",
|
||||
"test": "run-s clean test:commonjs",
|
||||
"test:umd": "./scripts/test_umd.sh",
|
||||
|
Reference in New Issue
Block a user