Skip to content

Commit 69f2dee

Browse files
committed
added fe mode
1 parent 2f6325e commit 69f2dee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
"main": "dist/run-server.js",
88
"scripts": {
99
"build": "$(npm bin)/npm-run-all -s routes-gen tsc copy-index webpack:prod",
10+
"build:webpack": "$(npm bin)/npm-run-all -s webpack:prod copy-index",
1011
"clean": "$(npm bin)/npm-run-all -p clean:*",
1112
"clean:dist": "$(npm bin)/rimraf dist",
1213
"clean:cov": "$(npm bin)/rimraf coverage",
1314
"start": "$(npm bin)/npm-run-all -s clean build start:simple",
1415
"start:simple": "node ./dist/run-server.js",
1516
"start:dev": "$(npm bin)/npm-run-all -s clean build -p watch:*",
17+
"start:fe": "$(npm bin)/npm-run-all -s clean build -p watch:fe",
18+
"watch:fe": "$(npm bin)/nodemon --inspect=0.0.0.0:9229 --watch './src/client/**/*.*' --delay 2.5 --exec npm run build:webpack -e ts",
1619
"watch:node": "$(npm bin)/nodemon --inspect=0.0.0.0:9229 --watch './src/**/*.*' --delay 2.5 --exec npm run server-webpack -e ts",
1720
"watch:ts": "tsc --watch",
1821
"prettier": "prettier --write 'src/**/*.{ts,json}'",

0 commit comments

Comments
 (0)