Use webpack CLI instead of gulpfile.js
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
"scripts": {
|
||||
"install": "cd src && npm install",
|
||||
"postinstall": "npm run build",
|
||||
"build": "gulp build",
|
||||
"build": "npm run build:main && npm run build:renderer && gulp build",
|
||||
"build:main": "cross-env NODE_ENV=production webpack --config webpack.config.main.js",
|
||||
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.config.renderer.js",
|
||||
"start": "electron dist",
|
||||
"watch": "gulp watch",
|
||||
"serve": "gulp watch",
|
||||
@@ -52,11 +54,8 @@
|
||||
"mocha": "^3.0.2",
|
||||
"mocha-circleci-reporter": "0.0.2",
|
||||
"spectron": "~3.4.0",
|
||||
"style-loader": "^0.13.1",
|
||||
"through2": "^2.0.1",
|
||||
"vinyl-named": "^1.1.0",
|
||||
"webpack": "^1.13.1",
|
||||
"webpack-stream": "^3.2.0"
|
||||
"webpack": "^1.13.1"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.mattermost.desktop",
|
||||
|
Reference in New Issue
Block a user