chore(package): Add npm run script for webpack

Make life simpler

Change-Type: patch
This commit is contained in:
Jonas Hermsmeier 2018-05-18 17:02:18 +02:00
parent d9a7730511
commit 1748bf2e2a
No known key found for this signature in database
GPG Key ID: 1B870F801A0CEE9F
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@
"configure": "node-gyp configure",
"build": "node-gyp build",
"install": "node-gyp rebuild",
"webpack": "webpack",
"watch": "webpack --watch",
"concourse-build-electron": "make webpack",
"concourse-test": "npm test",
"concourse-test-electron": "npm test",

View File

@ -67,7 +67,8 @@ module.exports = {
use: {
loader: 'babel-loader',
options: {
presets: [ 'react', 'env', 'stage-0' ]
presets: [ 'react', 'env', 'stage-0' ],
cacheDirectory: true
}
}
},