fix package.json for less downtime during production updates
This commit is contained in:
parent
8c1baf3a86
commit
b1168ca920
|
@ -15,7 +15,7 @@
|
|||
"build:client:types": "tsc --emitDeclarationOnly --project config/tsconfig.client.json",
|
||||
"build:client:js": "webpack --config config/webpack.client.prod.js",
|
||||
"build:client": "npm run build:client:types && npm run build:client:js",
|
||||
"build": "rm -rf dist && npm run build:server && npm run build:client",
|
||||
"build": "npm run build:server && npm run build:client",
|
||||
"dev:server:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput --pretty --project config/tsconfig.server.json",
|
||||
"dev:server:js": "webpack --config config/webpack.server.dev.js",
|
||||
"dev:server": "concurrently \"npm:dev:server:types\" \"npm:dev:server:js\"",
|
||||
|
@ -23,7 +23,7 @@
|
|||
"dev:client:js": "webpack --config config/webpack.client.dev.js",
|
||||
"dev:client": "concurrently \"npm:dev:client:types\" \"npm:dev:client:js\"",
|
||||
"dev:start": "mkdir -p dist/server && touch dist/server/bundle.js && nodemon dist/server/bundle.js",
|
||||
"dev": "rm -rf dist && concurrently \"npm:dev:server\" \"npm:dev:client\" \"npm:dev:start\"",
|
||||
"dev": "concurrently \"npm:dev:server\" \"npm:dev:client\" \"npm:dev:start\"",
|
||||
"start": "node dist/server/bundle.js"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue