-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
81 lines (81 loc) · 2.29 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "petal-dev",
"version": "2.25.0",
"description": "Douban.FM Client With Extra - - -",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/ilime/Petal.git"
},
"author": "Yue Yang <[email protected]> (https://g1eny0ung.site/)",
"contributors": [
"Rapiz1 <[email protected]> (https://rapiz.me/)",
"lxs137 <[email protected]>"
],
"license": "MIT",
"homepage": ".",
"dependencies": {
"axios": "^0.21.2",
"mpris-service": "^2.1.0",
"nedb": "^1.8.0",
"prop-types": "^15.7.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-redux": "^7.1.1",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"semantic-ui-react": "^0.88.1"
},
"main": "public/main.js",
"scripts": {
"start": "cross-env BROWSER=none react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"start:electron": "cross-env NODE_ENV=development electron --enable-transparent-visuals --disable-gpu .",
"build:electron:dev": "cross-env NODE_ENV=development webpack --config webpack/config.electron.js --progress",
"build:electron:prod": "cross-env NODE_ENV=production webpack --config webpack/config.electron.js --progress",
"dist:electron": "electron-builder -mwl",
"dist:electron:platform": "electron-builder",
"code:check": "eslint . --rule 'no-console: [0]'",
"clean": "rimraf dist"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"axios-mock-adapter": "^1.16.0",
"cross-env": "^7.0.0",
"electron": "^8.2.4",
"electron-builder": "22.2.0",
"electron-devtools-installer": "^3.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"husky": "^4.2.5",
"lint-staged": "^10.1.3",
"node-sass": "^4.12.0",
"prettier": "^2.0.4",
"rimraf": "^3.0.0",
"webpack-cli": "^3.3.9"
},
"lint-staged": {
"*.js?(x)": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}