Skip to content

Commit

Permalink
🚀 Build for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardstanislas committed Apr 13, 2021
1 parent a996233 commit 7826b89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.env
public/js
dist
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
"version": "0.0.1",
"scripts": {
"prebuild": "npm run clean",
"build": "webpack",
"build": "run-p build:*",
"build:client": "webpack",
"build:prod": "tsc --project tsconfig.json",
"clean": "rimraf public/js",
"start": "npm run start:prod",
"start:dev": "run-p clean start:dev:*",
"start:dev:client": "webpack --watch --mode=development --devtool=eval-source-map",
"start:dev:server": "ts-node-dev --rs --watch 'src/**/*.ts,views/**/*.nj,src/**/*.yaml' src/infrastructure",
"start:prod": "node dist/infrastructure",
"test": "jest"
},
"repository": {
Expand Down

0 comments on commit 7826b89

Please sign in to comment.