forked from canisminor1990/bilibili-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.92 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"author": {
"name": "CanisMinor",
"email": "i@canisminor.cc"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/canisminor1990/bilibili-client.git"
},
"bugs": {
"url": "https://github.com/canisminor1990/bilibili-client/issues"
},
"scripts": {
"root": "yarn && cd ./app && yarn && npm i",
"start": "electron app/dist/main",
"dev": "concurrently \"yarn dev:roadhog\" \"yarn dev:main\"",
"dev:roadhog": "roadhog dev --open=false",
"dev:main": "webpack -w --config ./webpack.config.babel.js",
"build": "yarn build:roadhog && yarn build:main",
"build:roadhog": "roadhog build",
"build:main": "webpack --config ./webpack.config.babel.js",
"lint": "lint-staged",
"lint:es": "eslint --fix --ext .js src",
"pack": "pack:osx && yarn pack:win",
"pack:base": "electron-packager ./app bilibili --arch=x64 --out ./dist --icon=./build/icon --overwrite --asar --prune",
"pack:win": "yarn pack:base --platform=win32",
"pack:osx": "yarn pack:base --platform=darwin",
"publish": "bash ./publish.sh"
},
"pre-commit": [
"lint"
],
"lint-staged": {
"src/**/*.scss": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"src/**/*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.36",
"antd": "^3.1.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dva-hmr": "^0.4.1",
"babel-plugin-import": "^1.6.2",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"babel-runtime": "^6.9.2",
"classnames": "^2.2.5",
"concurrently": "^3.1.0",
"css-loader": "^0.28.7",
"cssnano": "^3.10.0",
"devtron": "^1.4.0",
"dva": "^2.1.0",
"dva-loading": "^1.0.4",
"electron": "^1.7.10",
"electron-debug": "^1.4.0",
"electron-fetch": "^1.1.0",
"electron-is-accelerator": "^0.1.2",
"electron-packager": "^10.1.0",
"electron-release": "^2.2.0",
"electron-store": "^1.3.0",
"eslint": "^4.13.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-flowtype": "^2.37.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.2.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"history": "^4.7.2",
"hls.js": "^0.8.9",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"lodash": "^4.17.4",
"node-sass": "^4.5.3",
"path": "^0.12.7",
"postcss-pxtorem": "^4.0.1",
"pre-commit": "^1.2.2",
"prettier": "^1.9.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"redbox-react": "^1.5.0",
"roadhog": "^2.0.6",
"sass-loader": "^6.0.6",
"webpack": "^3.10.0"
}
}