Rename start to dev

This commit is contained in:
Andras Schmelczer 2026-06-04 17:19:10 +01:00
parent 7a285549b5
commit 018df228df
4 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
},
"scripts": {
"build": "npx webpack --mode production",
"start": "concurrently --kill-others-on-fail \"webpack --mode development -w\" \"nodemon --legacy-watch dist/main.js\"",
"dev": "concurrently --kill-others-on-fail \"webpack --mode development -w\" \"nodemon --legacy-watch dist/main.js\"",
"try-build": "npm run build && cd dist && node main.js && cd -"
},
"dependencies": {

View file

@ -10,7 +10,7 @@
"main": "index.js",
"scripts": {
"build": "npx webpack --mode production",
"start": "npx webpack-dev-server --mode development",
"dev": "npx webpack-dev-server --mode development",
"try-build": "npm run build && cd dist && python3 -m http.server 8080"
},
"browserslist": [

View file

@ -18,6 +18,6 @@
"build": "cd shared && npm run build && cd ../frontend && npm run build && cd ../backend && npm run build",
"lint": "eslint ./**/src/**/*.{js,ts,json} --fix && prettier --write ./**/src/**/*.{js,ts,json}",
"init": "cd shared && npm install && cd ../frontend && npm install && cd ../backend && npm install",
"start": "concurrently --kill-others-on-fail \"cd shared && npm start\" \"cd backend && npm start\" \"cd frontend && npm start\""
"dev": "concurrently --kill-others-on-fail \"cd shared && npm dev\" \"cd backend && npm dev\" \"cd frontend && npm dev\""
}
}

View file

@ -9,7 +9,7 @@
],
"scripts": {
"build": "npx webpack --mode production",
"start": "npx webpack --mode development --watch",
"dev": "npx webpack --mode development --watch",
"try-build-before": "npx webpack --mode production"
},
"devDependencies": {