-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.89 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 3.89 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "electron-shell-builder",
"version": "0.1.0",
"description": "Build scripts for the extensible Electron-based shell",
"main": "app/index.js",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/appelgriebsch/electron-shell.git"
},
"keywords": [
"electron",
"react",
"builder"
],
"author": "Andreas Gerlach",
"license": "MIT",
"bugs": {
"url": "https://github.com/appelgriebsch/electron-shell/issues"
},
"homepage": "https://github.com/appelgriebsch/electron-shell#readme",
"babel": {
"presets": [
"es2015",
"react"
],
"plugins": [
[
"react-intl",
{
"messagesDir": "./build/translations",
"enforceDescriptions": true
}
],
"babel-plugin-transform-flow-strip-types",
"transform-object-rest-spread"
]
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"build": {
"appId": "com.appelgriebsch.electron-shell",
"asar": false,
"files": [
"**/*",
"!**/*.jsx",
"!plugins/**/*",
"!lib/**/*",
"!services/**/*",
"!ui/**/*"
],
"dmg": {
"iconSize": 80,
"contents": [
{
"x": 100,
"y": 220
},
{
"x": 280,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"category": "Utility",
"packageCategory": "utils",
"target": [
"rpm",
"deb"
],
"depends": []
},
"mac": {
"category": "",
"target": [
"dmg"
]
},
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/appelgriebsch/electron-shell/master/build/icon.ico"
},
"win": {
"target": [
"squirrel"
]
}
},
"scripts": {
"postinstall": "cd app && npm install --no-optional",
"start": "npm run compile && npm run copy && cross-env DEBUG=1 npm --prefix app/ start",
"compile": "babel --ignore node_modules/ --compact true --source-maps inline --minified --extensions .jsx app/ -d app/",
"copy": "npm run -s copy-lib && npm run -s copy-services && npm run -s copy-ui",
"copy-lib": "cp -R app/lib/ app/node_modules/electron-shell-lib/",
"copy-services": "cp -R app/services/ app/node_modules/electron-shell-services/",
"copy-ui": "cp -R app/ui/ app/node_modules/electron-shell-ui/",
"prune": "cd app && npm prune --production",
"test": "jest",
"compile-scripts": "babel --ignore node_modules --compact true --source-maps inline --minified --extensions .jsx build/ -d build/",
"clean-translations": "rimraf build/translations",
"gen-translations": "npm run -s clean-translations && npm run -s compile && npm run -s compile-scripts && node build/gen_translations.js",
"pre-build": "npm run -s compile && npm run -s prune && npm run -s build",
"build": "npm run -s build-linux || npm run -s build-mac || npm run -s build-win",
"build-linux": "npm run pre-build && build --x64 --linux",
"build-mac": "npm run pre-build && build --x64 --mac",
"build-win": "npm run pre-build && build --x64 --win",
"generate-docs": "jsdoc -c jsdoc.json",
"lint": "standard \"app/**/*.jsx\"",
"reformat": "npm run lint || standard \"app/**/*.jsx\" --fix"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^19.0.0",
"babel-plugin-react-intl": "^2.3.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"cash-cp": "^0.2.0",
"cross-env": "^4.0.0",
"docdash": "^0.4.0",
"electron-builder": "^17.2.0",
"glob-promise": "^3.1.0",
"jest-cli": "^19.0.2",
"jsdoc": "^3.4.3",
"jsdoc-babel": "^0.3.0",
"rimraf": "^2.6.1",
"standard": "^10.0.2"
}
}