-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 3.5 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "offer-helper",
"version": "1.0.0",
"description": "AI面试助手桌面端应用",
"main": "build/main/index.js",
"homepage": "./",
"author": "offerHelper团队",
"license": "MIT",
"private": true,
"scripts": {
"start": "node scripts/start.js",
"dev": "node scripts/start.js",
"dev:webpack": "concurrently \"npm run dev:main\" \"npm run dev:renderer\"",
"dev:main": "webpack --config webpack.main.config.js --watch",
"dev:renderer": "webpack serve --config webpack.renderer.config.js",
"build": "node scripts/build.js",
"build:webpack": "npm run build:main && npm run build:renderer",
"build:main": "webpack --config webpack.main.config.js --mode production",
"build:renderer": "webpack --config webpack.renderer.config.js --mode production",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,css,md}\"",
"type-check": "tsc --noEmit",
"electron": "electron build/main/index.js",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:win": "electron-builder --win",
"dist:mac": "electron-builder --mac",
"dist:linux": "electron-builder --linux",
"postinstall": "electron-builder install-app-deps"
},
"devDependencies": {
"@types/electron": "^1.4.38",
"@types/jest": "^29.5.5",
"@types/node": "^20.19.9",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"concurrently": "^8.2.1",
"css-loader": "^6.11.0",
"electron": "^26.6.10",
"electron-builder": "^24.6.4",
"eslint": "^8.49.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"style-loader": "^3.3.4",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.2",
"typescript": "^5.9.2",
"webpack": "^5.101.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.6",
"crypto-js": "^4.2.0",
"dotenv": "^17.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^8.1.3",
"react-router-dom": "^6.16.0",
"styled-components": "^6.0.8",
"winston": "^3.10.0",
"ws": "^8.18.3"
},
"build": {
"appId": "com.company.offerHelper",
"productName": "AI面试助手",
"directories": {
"output": "dist",
"buildResources": "assets"
},
"files": [
"build/**/*",
"node_modules/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "assets/icons/app-icon.icns",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"icon": "assets/icons/app-icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"linux": {
"icon": "assets/icons/app-icon.png",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}