Добавил postinstall, плагин html-webpack-plugin
This commit is contained in:
@@ -7,10 +7,12 @@
|
||||
"scripts": {
|
||||
"dev": "nodemon --inspect server",
|
||||
"build:client": "webpack --config build/webpack.prod.config.js",
|
||||
"build:client-dev": "webpack --config build/webpack.dev.config.js",
|
||||
"build:linux": "npm run build:client && pkg -t latest-linux-x64 -o dist/linux/liberama .",
|
||||
"build:win": "npm run build:client && pkg -t latest-win-x64 -o dist/win/liberama .",
|
||||
"lint": "eslint --ext=.js,.vue client server",
|
||||
"test": "eslint client/App.vue"
|
||||
|
||||
"postinstall": "npm run build:client-dev"
|
||||
},
|
||||
"bin": "server/index.js",
|
||||
"pkg": {
|
||||
@@ -33,6 +35,7 @@
|
||||
"eslint-plugin-node": "^8.0.0",
|
||||
"eslint-plugin-vue": "^5.0.0",
|
||||
"file-loader": "^3.0.1",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"mini-css-extract-plugin": "^0.5.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"pkg": "^4.3.5",
|
||||
|
||||
Reference in New Issue
Block a user