diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 04:50:56 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 04:50:56 +0800 |
commit | 57a44291233548da9785aec3cde92171342c9eb3 (patch) | |
tree | 90d19c24a8e07b3ee0b4835c3067dac9aba82617 /packages/sra-api/package.json | |
parent | 3b542bf356f14e7bfd5bbd740d2df55ff64e1309 (diff) | |
download | dexon-0x-contracts-57a44291233548da9785aec3cde92171342c9eb3.tar.gz dexon-0x-contracts-57a44291233548da9785aec3cde92171342c9eb3.tar.zst dexon-0x-contracts-57a44291233548da9785aec3cde92171342c9eb3.zip |
Add discharge config and deploy
Diffstat (limited to 'packages/sra-api/package.json')
-rw-r--r-- | packages/sra-api/package.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/sra-api/package.json b/packages/sra-api/package.json index b7bcd588b..4e0fb1637 100644 --- a/packages/sra-api/package.json +++ b/packages/sra-api/package.json @@ -19,9 +19,10 @@ "run_mocha": "mocha lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib", "build": "tsc && yarn build-json", - "build-site": "yarn build-json && redoc-cli bundle lib/api.json --output public/index.html", + "build-site": "yarn build && redoc-cli bundle lib/api.json --output public/index.html", "build-json": "ts-node scripts/buildJson.ts", - "build-json:watch": "chokidar 'src/**/*' -c 'yarn build-json' " + "build-json:watch": "chokidar 'src/**/*' -c 'yarn build-json' ", + "deploy-site": "discharge deploy" }, "repository": { "type": "git", @@ -44,6 +45,7 @@ "chai": "^4.0.1", "chokidar-cli": "^1.2.0", "dirty-chai": "^2.0.1", + "discharge": "^0.7.1", "mocha": "^4.0.1", "npm-run-all": "^4.1.3", "nyc": "^11.0.1", |