diff options
author | Joas Schilling <coding@schilljs.com> | 2023-05-01 10:09:42 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-05-01 10:09:42 +0200 |
commit | 1cf363570474b531bd45e34b3e14b2fd589a2117 (patch) | |
tree | 826f17347eb2bcc8db851fc1bc63b1f9a1e6905b /package.json | |
parent | 3177bebaf183e3c8f009957930b72b7a87fb61ed (diff) |
dev(frontend): Add "npm run serve" which allows to run with HMR
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index cac27b80a..2a6389753 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "test:coverage": "TZ=UTC jest --coverage", "lint": "eslint --ext .js,.vue src", "lint:fix": "eslint --ext .js,.vue src --fix", + "serve": "npx webpack serve --node-env development --progress --config webpack.config.js --env dev_server --allowed-hosts all", "stylelint": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue", "stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue --fix" }, |