Run bin/heroku in heroku-postbuild phase

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
Yukai Huang 2021-02-28 11:23:52 +08:00
parent 497abc8bca
commit 1cdfbad458
No known key found for this signature in database
GPG Key ID: D4D3B2F0E99D4914
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
"coverage:ci": "nyc mocha --no-color -R dot --require intelli-espower-loader --exit --recursive ./test",
"test": "npm run-script lint && npm run-script jsonlint && npm run-script coverage",
"test:ci": "npm run-script lint && npm run-script jsonlint && npm run-script coverage:ci",
"postinstall": "bin/heroku"
"heroku-postbuild": "npm run build && ./bin/heroku"
},
"dependencies": {
"@aws-sdk/client-s3-node": "0.1.0-preview.2",