forked from ThePacielloGroup/CCAe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.16 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
{
"name": "CCA",
"version": "1.1.2",
"description": "Colour Contrast Analyser (CCA)",
"main": "src/main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "cross-env NODE_ENV=dev electron .",
"rebuild": "npm rebuild --runtime=electron --target=2.0.11 --disturl=https://atom.io/download/electron --abi=57",
"dist": "npm run rebuild && electron-builder",
"dist-portable32": "npm run rebuild && electron-builder --win portable --ia32"
},
"author": "Cédric Trévisan <[email protected]>",
"license": "GPL-3.0",
"devDependencies": {
"cross-env": "^5.2.0",
"electron": "2.0.11",
"electron-builder": "20.40.0"
},
"optionalDependencies": {
"osx-mouse": "^1.3.1",
"win-mouse": "^1.2.0"
},
"dependencies": {
"color": "3.1.0",
"color-blind": "^0.1.1",
"electron-log": "^2.2.17",
"electron-store": "^2.0.0",
"electron-updater": "4.0.0",
"focus-visible": "^4.1.5",
"robotjs": "git+https://github.com/toinane/robotjs.git"
},
"build": {
"appId": "com.electron.cca",
"productName": "Colour Contrast Analyser (CCA)",
"compression": "maximum",
"copyright": "Copyright © 2019 TPG",
"directories": {},
"files": [
"**/*"
],
"releaseInfo": {
"releaseNotesFile": "CHANGELOG.md"
},
"mac": {
"category": "public.app-category.developer-tools",
"artifactName": "${name}-${version}.${ext}",
"icon": "build/icon.icns",
"type": "distribution"
},
"win": {
"icon": "build/icon.ico",
"publisherName": [
"The Paciello Group, LLC"
],
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "msi",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
]
},
"nsis": {
"artifactName": "${name}-Setup-${version}.${ext}",
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"uninstallDisplayName": "Uninstall Colour Contrast Analyser (CCA)",
"createDesktopShortcut": true
},
"msi": {
"artifactName": "${name}-Setup-${version}.${ext}",
"oneClick": false,
"perMachine": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"portable": {
"artifactName": "${name}-Portable-${version}.${ext}"
}
}
}