From f34d9b666f0ae19b78470813658ce95b6b43b39a Mon Sep 17 00:00:00 2001 From: "t.goto" Date: Tue, 13 Aug 2019 15:26:28 +0900 Subject: [PATCH] Resurrect `postinstall` at package.json for heroku one-click deployment. Signed-off-by: t.goto --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 36358aa8..45857e99 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "coverage": "nyc mocha --require intelli-espower-loader --exit --recursive ./test", "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" + "test:ci": "npm run-script lint && npm run-script jsonlint && npm run-script coverage:ci", + "postinstall": "bin/heroku" }, "dependencies": { "@hackmd/codemirror": "~5.46.2",