forked from dfvips/um-react-electron
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
31 lines (31 loc) · 1.39 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
{
"name": "um-react-electron",
"version": "1.0.1",
"description": "Unlock Music 音乐解锁 (React) Electron App",
"main": "./src/main.js",
"author": "dreamfly",
"homepage": "https://git.unlock-music.dev/um/um-react",
"scripts": {
"format": "prettier --write .",
"lint": "eslint --ext .js .",
"dev": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron .",
"start": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron .",
"postinstall": "electron-builder install-app-deps",
"build": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../",
"build:win": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --win --config -p never",
"build:mac": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --mac --config -p never",
"build:linux": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --linux --config -p never"
},
"dependencies": {
"@electron-toolkit/preload": "^2.0.0",
"@electron-toolkit/utils": "^2.0.0"
},
"devDependencies": {
"@electron-toolkit/eslint-config": "^1.0.1",
"@electron-toolkit/eslint-config-prettier": "^1.0.1",
"electron": "^25.6.0",
"electron-builder": "^24.6.3",
"eslint": "^8.47.0",
"prettier": "^3.0.2"
}
}