-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
108 lines (108 loc) · 3.51 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
102
103
104
105
106
107
108
{
"title": "bilibili-client",
"description": "📺 Mini-Client of Bilibili.",
"author": {
"name": "CanisMinor",
"email": "i@canisminor.cc",
"url": "https://canisminor.cc/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/canisminor1990/bilibili-client.git",
"coding": "git@git.coding.net: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",
"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": "yarn 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":
"cd ./dist && zip -r bilibili.mac.zip bilibili-darwin-x64 && zip -r bilibili.win.zip bilibili-win32-x64 && open ."
},
"pre-commit": ["lint"],
"lint-staged": {
"README.md": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"**/package.json": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"*.js": ["eslint --fix", "git add"],
"src/**/*.scss": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"src/**/*.js": ["eslint --fix", "git add"]
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.31",
"@babel/plugin-transform-runtime": "^7.0.0-beta.31",
"@babel/preset-env": "^7.0.0-beta.31",
"@babel/preset-stage-0": "^7.0.0-beta.31",
"@babel/register": "^7.0.0-beta.31",
"@babel/runtime": "^7.0.0-beta.31",
"antd": "^3.1.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^8.0.0-beta.0",
"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",
"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",
"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.1.0",
"sass-loader": "^6.0.6",
"webpack": "^3.10.0"
}
}