-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.73 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.73 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
{
"name": "anime-cet6-vocab",
"description": "离线 + AI 例句/词组生成的 CET6 背单词桌面/网页工具",
"author": "KYJCASTER <2016559265w@gmail.com>",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev:desktop": "cross-env VITE_DEV_SERVER_URL=http://localhost:5173 concurrently -k -n VITE,ELECTRON \"vite\" \"cross-env ELECTRON_DEV=1 electron electron/main.js\"",
"prebuild": "node scripts/generateDataset.mjs",
"build": "vite build",
"build:desktop": "npm run icon:gen && npm run build && electron-builder",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"icon:gen": "node scripts/gen-icon.mjs"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.3",
"@vitejs/plugin-react": "^5.0.1",
"autoprefixer": "^10.4.20",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"electron": "^32.3.3",
"electron-builder": "^24.13.3",
"jimp": "^0.22.12",
"png-to-ico": "^3.0.0",
"postcss": "^8.4.41",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"vite": "^5.4.0"
},
"main": "electron/main.js",
"build": {
"appId": "com.jtwords.app",
"productName": "惊天背单词",
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"asar": true,
"directories": {
"buildResources": "build"
},
"win": {
"target": "nsis",
"icon": "build/icon.ico"
}
}
}