Fix watchify command
This commit is contained in:
parent
43f5754be9
commit
cb61490db1
6
package-lock.json
generated
6
package-lock.json
generated
@ -13453,9 +13453,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "3.6.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
|
||||
"integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==",
|
||||
"version": "3.7.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz",
|
||||
"integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==",
|
||||
"dev": true
|
||||
},
|
||||
"uglify-js": {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node lib/index.js",
|
||||
"start:server": "nodemon --ignore build/ --ignore lib/client lib/index.js",
|
||||
"start:server": "nodemon --ignore build/ --ignore lib/client",
|
||||
"start:watch": "npm run ts && chastifol [ npm run ts:watch ] [ npm run js:watch ] [ npm run css:watch ] [ npm run start:server ]",
|
||||
"prepublishOnly": "npm run build",
|
||||
"build": "npm run css && npm run ts && npm run js && npm run js:uglify",
|
||||
@ -17,7 +17,7 @@
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:watch": "jest --watch",
|
||||
"js": "browserify -g [ loose-envify purge --NODE_ENV production ] -t babelify ./lib/client/index.js -o ./build/index.prod.js",
|
||||
"js:watch": "watchify -d -v ./lib/client/index.js -o ./build/index.js",
|
||||
"js:watch": "watchify ./lib/client/index.js -v -d -o ./build/index.js",
|
||||
"js:uglify": "minify build/index.prod.js -o build/index.js",
|
||||
"css": "node-sass ./src/scss/style.scss -o ./build/",
|
||||
"css:watch": "npm run css && node-sass --watch ./src/scss/style.scss -o ./build/",
|
||||
@ -107,7 +107,7 @@
|
||||
"supertest": "^3.0.0",
|
||||
"ts-jest": "^24.1.0",
|
||||
"ts-node": "^8.5.0",
|
||||
"typescript": "^3.6.4",
|
||||
"typescript": "^3.7.2",
|
||||
"watchify": "^3.11.1"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user