Modernise & make fun #3

Merged
andras merged 18 commits from asch/modernise into main 2026-06-21 10:43:50 +01:00
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 018df228df - Show all commits

View file

@ -10,7 +10,7 @@
}, },
"scripts": { "scripts": {
"build": "npx webpack --mode production", "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 -" "try-build": "npm run build && cd dist && node main.js && cd -"
}, },
"dependencies": { "dependencies": {

View file

@ -10,7 +10,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "npx webpack --mode production", "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" "try-build": "npm run build && cd dist && python3 -m http.server 8080"
}, },
"browserslist": [ "browserslist": [

View file

@ -18,6 +18,6 @@
"build": "cd shared && npm run build && cd ../frontend && npm run build && cd ../backend && npm run build", "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}", "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", "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": { "scripts": {
"build": "npx webpack --mode production", "build": "npx webpack --mode production",
"start": "npx webpack --mode development --watch", "dev": "npx webpack --mode development --watch",
"try-build-before": "npx webpack --mode production" "try-build-before": "npx webpack --mode production"
}, },
"devDependencies": { "devDependencies": {