Skip to content

Commit 77a574f

Browse files
author
Emmanouil Konstantinidis
committed
Move devDeps to deps
1 parent 9d57c44 commit 77a574f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "webpack",
88
"watch": "webpack --progress --colors --watch",
99
"release-js": "webpack --config webpack.rel.config.js",
10-
"package": "electron-packager . Gitify --overwrite --platform=darwin --arch=x64 --version=0.35.4 --asar=true --icon=images/app-icon.icns --prune --ignore='src' --ignore='coverage'",
10+
"package": "electron-packager . Gitify --overwrite --platform=darwin --arch=x64 --version=1.0.2 --asar=true --icon=images/app-icon.icns --prune --ignore='src' --ignore='coverage'",
1111
"codesign": "bash scripts/codesign.bash",
1212
"dist": "npm run release-js && npm run package && npm run codesign",
1313
"lint-js": "eslint 'src/js/' 'src/js/app.js' 'main.js'",
@@ -51,6 +51,8 @@
5151
"dependencies": {
5252
"auto-launch": "=2.0.1",
5353
"bootstrap": "=4.0.0-alpha.2",
54+
"electron-gh-releases": "=2.0.2",
55+
"electron-positioner": "=3.0.0",
5456
"font-awesome": "=4.6.1",
5557
"history": "=2.1.1",
5658
"malarkey": "=1.3.3",
@@ -82,10 +84,8 @@
8284
"babel-preset-stage-0": "=6.5.0",
8385
"chai": "=3.5.0",
8486
"css-loader": "=0.23.1",
85-
"electron-gh-releases": "=2.0.2",
8687
"electron-packager": "=7.0.1",
8788
"electron-prebuilt": "=1.0.2",
88-
"electron-positioner": "=3.0.0",
8989
"enzyme": "=2.3.0",
9090
"eslint": "=2.9.0",
9191
"eslint-plugin-react": "=5.1.1",

webpack.rel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ var config = require('./webpack.config.js');
44
config.devtool = '';
55

66
config.plugins = config.plugins.concat([
7+
new webpack.DefinePlugin({
8+
'process.env':{
9+
'NODE_ENV': JSON.stringify('production')
10+
}
11+
}),
712
new webpack.optimize.UglifyJsPlugin({
813
compress: {
914
warnings: false,

0 commit comments

Comments
 (0)