1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
diff -ura a/gruntfile.js b/gruntfile.js
--- a/gruntfile.js 2017-04-22 11:30:05.000000000 +0200
+++ b/gruntfile.js 2017-04-22 16:44:11.418409532 +0200
@@ -6,6 +6,7 @@
module.exports = function (grunt) {
var authCode
+ /*
try {
authCode = grunt.file.readJSON('secret/auth_code.json')
} catch (e) {
@@ -13,6 +14,7 @@
console.warn('secret/auth_code.json is not found. CodeSigning is not available.')
}
}
+ */
const OSX_COMMON_NAME = authCode != null ? authCode.OSX_COMMON_NAME : ''
const WIN_CERT_PASSWORD = authCode != null ? authCode.WIN_CERT_PASSWORD : ''
@@ -55,9 +57,6 @@
grunt.initConfig(initConfig)
grunt.loadNpmTasks('grunt-electron-installer')
- if (!WIN) {
- grunt.loadNpmTasks('grunt-electron-installer-debian')
- }
grunt.registerTask('compile', function () {
var done = this.async()
diff -ura a/package.json b/package.json
--- a/package.json 2017-04-22 11:30:05.000000000 +0200
+++ b/package.json 2017-04-22 16:45:28.247081093 +0200
@@ -90,14 +90,13 @@
"css-loader": "^0.19.0",
"devtron": "^1.1.0",
"dom-storage": "^2.0.2",
- "electron-packager": "^6.0.0",
- "electron-prebuilt": "^1.2.8",
+ "electron-packager": "^8.6.0",
"eslint": "^3.13.1",
"eslint-config-standard": "^6.2.1",
"eslint-config-standard-jsx": "^3.2.0",
"eslint-plugin-react": "^7.2.0",
"faker": "^3.1.0",
- "grunt": "^0.4.5",
- "grunt-electron-installer": "^1.2.0",
+ "grunt": "^1.0.1",
+ "grunt-electron-installer": "^2.1.0",
"history": "^1.17.0",
"jsdom": "^9.4.2",
"merge-stream": "^1.0.0",
@@ -109,14 +108,11 @@
"react-router-redux": "^4.0.4",
"standard": "^8.4.0",
"style-loader": "^0.12.4",
- "stylus": "^0.52.4",
+ "stylus": "^0.54.5",
"stylus-loader": "^2.3.1",
"webpack": "^1.12.2",
"webpack-dev-server": "^1.12.0"
},
- "optionalDependencies": {
- "grunt-electron-installer-debian": "^0.2.0"
- },
"optional": false,
"ava": {
"files": [
|