-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.75 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.75 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
{
"name": "app",
"version": "1.0.0",
"main": "./dist/main/main.js",
"license": "MIT",
"scripts": {
"build": "npm run build:main && npm run build:renderer",
"build:renderer": "webpack --config webpack.config.renderer.js",
"build:main": "tsc",
"cmake:gen": "(cmake-js -d native -G \"Visual Studio 16 2019\" -A Win32 -O build_Win32) && node ./scripts/update-native-lib.js",
"start": "electron . --enable-logging",
"package:dir": "npm run build && electron-builder --dir",
"lint": "eslint . --ext .ts"
},
"devDependencies": {
"@types/mkdirp": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"awesome-typescript-loader": "^5.2.1",
"cmake-js": "^6.3.2",
"electron": "20.0.2",
"electron-builder": "^23.3.3",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"fs-extra": "^10.1.0",
"mkdirp": "^1.0.4",
"node-addon-api": "^5.0.0"
},
"cmake-js": {
"runtime": "electron",
"runtimeVersion": "20.0.2",
"arch": "ia32"
},
"build": {
"productName": "app",
"compression": "maximum",
"directories": {
"buildResources": "./build",
"output": "./release"
},
"win": {
"icon": "app.ico"
},
"electronDist": "./node_modules/electron/dist",
"npmRebuild": false,
"asar": true,
"extraResources": [
"assets"
],
"files": [
{
"from": "dist",
"to": "dist",
"filter": [
"**/*",
"!**/*.map"
]
},
{
"from": ".",
"to": ".",
"filter": [
"package.json"
]
}
]
}
}