-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
112 lines (112 loc) · 2.71 KB
/
package.json
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
{
"name": "macaca-electron-app-sample",
"private": true,
"author": "jonnyps",
"version": "1.0.0",
"dependencies": {
"chai": "4",
"electron-is-dev": "^1.1.0",
"macaca-chrome": "1",
"macaca-chromedriver": "^1.0.29",
"macaca-cli": "2",
"macaca-wd": "3",
"mocha": "6",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test-concurrently": " concurrently \"node_modules/macaca-chromedriver/exec/ch*\" \"node_modules/.bin/mocha testCase/\" ",
"eject": "react-scripts eject",
"electron-start": "electron .",
"electron-dev": "concurrently \"BROWSER=none react-scripts start\" \"wait-on http://localhost:3000 && electron .\"",
"dist": "electron-builder",
"mac-start": " node_modules/macaca-chromedriver/exec/ch* & macaca server --verbose",
"win-server": "macaca server --verbose",
"win-start": " node server/servers.js ",
"test": " mocha test/",
"lint": "eslint . --fix",
"contributor": "git-contributor"
},
"main": "public/electron.js",
"homepage": "./",
"build": {
"productName": "macaca-electron-builder",
"appId": "org.simulatedgreg.macaca-electron-builder",
"directories": {
"output": "dist"
},
"files": [
"dist/electron/**/*",
"node_modules/",
"package.json"
],
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "electron-builder-start"
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "build/icons/icon.icns"
},
"win": {
"icon": "build/icons/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
]
},
"linux": {
"icon": "build/icons"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"concurrently": "^4.1.1",
"electron": "^5.0.8",
"electron-builder": "^21.1.5",
"electron-packager": "^14.0.4",
"eslint": "^5.16.0",
"eslint-plugin-mocha": "^6.1.1",
"git-contributor": "1",
"wait-on": "^3.3.0"
}
}