chore : Adds prepare script
This commit is contained in:
1 parent
086e7dac7d
commit
1abf560d89
1 file changed
+2
-1
@@ -30,7 +30,8 @@
|
|||||||
"supertest": "^4.0.2"
|
"supertest": "^4.0.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
|
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
|
||||||
|
"prepare": "cross-env NODE_ENV=production npm run build",
|
||||||
"build": "babel src -d dist",
|
"build": "babel src -d dist",
|
||||||
"serve": "node dist/app.js",
|
"serve": "node dist/app.js",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
|
|||||||
Reference in new issue
Block a user