-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
67 lines (67 loc) · 1.78 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
{
"name": "fengsheng",
"uuid": "b8f2909c-87be-41e7-9da8-754f03378753",
"description": "fengsheng client",
"author": "Death-alter",
"main": "main.js",
"version": "1.0.0",
"creator": {
"version": "3.8.0"
},
"dependencies": {
"adm-zip": "^0.5.12",
"axios": "^1.6.8",
"protobufjs": "^7.2.3",
"request": "^2.88.2",
"ts-md5": "^1.3.1"
},
"scripts": {
"prepare": "husky",
"dev:electron": "electron .",
"build:electron": "electron-builder",
"build:proto": "pbjs --dependency protobufjs/minimal.js --target static-module --wrap commonjs --out ./assets/protobuf/proto.js ./assets/network/*.proto && pbts --main --out ./assets/protobuf/proto.d.ts ./assets/protobuf/*.js",
"build:manifest": "node version_generator.js -s build/android/assets -d assets",
"lint": "eslint --ext .ts assets/scripts",
"lint:fix": "eslint --ext .ts --fix assets/scripts"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.3.1",
"electron": "^25.9.8",
"electron-builder": "^24.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"protobufjs-cli": "^1.1.1"
},
"build": {
"asar": true,
"productName": "风声",
"appId": "com.fengsheng.app",
"files": [
"main.js",
"preload.js",
"build/web-mobile",
"config.json"
],
"directories": {
"output": "dist"
},
"win": {
"icon": "./favicon.ico",
"requestedExecutionLevel": "highestAvailable"
},
"mac": {
"category": "public.app-category.games",
"icon": "./favicon.ico"
}
},
"lint-staged": {
"assets/scripts/**/*.ts": [
"eslint",
"git add"
]
}
}