Skip to content

Commit

Permalink
prestart script for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
tima101 committed Nov 30, 2019
1 parent fa40f0f commit 7140101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dev": "tsnd --respawn --transpileOnly --project tsconfig.server.json --ignore-watch .next -- server/app.ts",
"build": "next build && tsc --project tsconfig.server.json",
"postinstall": "next build && rm -rf production-server/ && tsc --project tsconfig.server.json",
"prestart": "next build && rm -rf production-server/ && tsc --project tsconfig.server.json",
"start": "node production-server/server/app.js",
"lint": "eslint . --ext .ts,.tsx",
"test": "jest --coverage --passWithNoTests",
Expand Down

0 comments on commit 7140101

Please sign in to comment.