-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.13 KB
/
package.json
File metadata and controls
36 lines (36 loc) · 1.13 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
{
"name": "pc-builder",
"version": "1.0.0",
"description": "PC组装定制工具",
"main": "dist/main/index.js",
"scripts": {
"dev": "powershell -Command \"npx tsc; if (-not (Test-Path dist\\renderer)) { New-Item -ItemType Directory -Path dist\\renderer -Force }; Copy-Item src\\renderer\\index.html dist\\renderer\\index.html -Force; npx electron .\"",
"build": "powershell -Command \"npx tsc; if (-not (Test-Path dist\\renderer)) { New-Item -ItemType Directory -Path dist\\renderer -Force }; Copy-Item src\\renderer\\index.html dist\\renderer\\index.html -Force; npx electron-builder\"",
"pack": "npx electron-builder --dir"
},
"keywords": ["pc", "builder", "computer"],
"author": "",
"license": "ISC",
"devDependencies": {
"electron": "^33.0.0",
"electron-builder": "^25.1.8",
"typescript": "^5.7.2"
},
"dependencies": {
"electron-store": "^10.0.0"
},
"build": {
"appId": "com.pcbuilder.app",
"productName": "PC Builder",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"package.json"
],
"win": {
"target": "portable"
}
}
}