aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 5 insertions, 6 deletions
diff --git a/package.json b/package.json
index dd06b29f..dea4b900 100644
--- a/package.json
+++ b/package.json
@@ -8,12 +8,10 @@
"compile": "cross-env NODE_ENV=production concurrently \"npm run compile:css\" \"npm run compile:js\"",
"lint": "eslint .",
"vnext:test": "jest",
- "vnext:build:css": "postcss --verbose --map style.css.map vnext/src/index.css -d public/",
- "vnext:build:js": "webpack -c vnext/webpack.config.js",
- "vnext:build": "cross-env NODE_ENV=production concurrently \"npm run vnext:build:css\" \"npm run vnext:build:js -- --sourcemap --keep-names --minify\"",
+ "vnext:build": "webpack -c vnext/webpack.config.js",
"vnext:build:ssr": "npm run vnext:build && esbuild --bundle --sourcemap --minify --keep-names --platform=node --target=node18 --loader:.js=jsx --loader:.png=file --loader:.svg=file --outfile=public/server.js vnext/server/index.js",
"vnext:start-ssr": "npm run vnext:build:ssr && cross-env DEBUG=http node public/server.js",
- "vnext:start": "cross-env NODE_ENV=development concurrently \"npm run vnext:build:js -- --watch\" \"npm run vnext:build:css -- -w\" \"live-server -V --entry-file=index.html public/\"",
+ "vnext:start": "cross-env NODE_ENV=development webpack serve -c vnext/webpack.config.js --mode development",
"vnext:lint": "eslint vnext/src/**/*.js"
},
"repository": {
@@ -71,7 +69,7 @@
"file-loader": "^6.2.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
- "live-server": "^1.2.2",
+ "mini-css-extract-plugin": "^2.7.2",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"postcss-import": "^15.1.0",
@@ -82,7 +80,8 @@
"stylelint": "^15.2.0",
"stylelint-config-standard": "^30.0.1",
"webpack": "^5.75.0",
- "webpack-cli": "^5.0.1"
+ "webpack-cli": "^5.0.1",
+ "webpack-dev-server": "^4.11.1"
},
"dependencies": {
"axios": "^1.3.4",