-
Notifications
You must be signed in to change notification settings - Fork 255
/
package.json
99 lines (99 loc) · 2.41 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
{
"name": "razer-macos",
"version": "0.4.1",
"description": "Open source color effects manager for Razer peripherals on macOS",
"license": "GPL-2.0-only",
"main": "src/main/index.js",
"scripts": {
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"rebuild": "node-gyp rebuild",
"clean": "node-gyp clean",
"prettier:js": "prettier --write \"src/{main,renderer}/**/*.{js,jsx}\""
},
"dependencies": {
"dot-prop": "^5.3.0",
"electron-json-storage": "^4.2.0",
"iohook": "^0.7.2",
"node-addon-api": "^1.0.0",
"node-forge": "^0.10.0",
"react": "^16.13.1",
"react-color": "^2.18.0",
"react-dom": "^16.13.1",
"react-select": "^3.2.0",
"react-slider": "^1.1.2",
"react-tabs": "^3.1.2",
"source-map-support": "^0.5.12",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
"@babel/preset-react": "^7.9.4",
"babel-loader": "^8.1.0",
"electron": "^11.2.2",
"electron-builder": "^21.0.11",
"electron-webpack": "^2.7.4",
"mini-css-extract-plugin": "^0.9.0",
"native-ext-loader": "^2.3.0",
"node-gyp": "^6.1.0",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"webpack": "^4.43.0",
"websocket-extensions": "^0.1.4"
},
"electronWebpack": {
"main": {
"sourceDirectory": "src/main",
"webpackConfig": "webpack.main.additions.js"
},
"renderer": {
"sourceDirectory": "src/renderer",
"template": "src/renderer/index.html",
"webpackConfig": "webpack.renderer.additions.js"
}
},
"gypfile": true,
"build": {
"appId": "com.electron.razer-macos",
"productName": "Razer macOS",
"nodeGypRebuild": true,
"asar": true,
"files": [
"package.json",
"build",
"node_modules"
],
"directories": {
"output": "dist",
"buildResources": "resources"
},
"mac": {
"category": "public.app-category.developer-tools",
"icon": "icon.icns",
"type": "distribution",
"hardenedRuntime": "true",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
]
}
},
"iohook": {
"targets": [
"electron-85"
],
"platforms": [
"darwin"
],
"arches": [
"arm64",
"x64"
]
}
}