Skip to content

Commit

Permalink
Add prod build and rimraf.
Browse files Browse the repository at this point in the history
  • Loading branch information
SukantGujar committed Mar 8, 2019
1 parent 9422491 commit 45439ef
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 320 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
"author": "sukantgujar <[email protected]>",
"license": "MIT",
"scripts": {
"build-watch": "npx tsc -w"
"build:watch": "npx tsc -w",
"build:prod": "rimraf ./dist && cross-env NODE_ENV=production tsc -b"
},
"devDependencies": {
"@types/express": "^4.16.1",
"cross-env": "^5.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.3333"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 45439ef

Please sign in to comment.