-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
68 lines (68 loc) · 2.19 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
{
"name": "juejin-spider",
"version": "1.0.0",
"description": "抓取掘金文章和作者信息,分析排行",
"main": "App.js",
"homepage": "https://lxfriday.github.io/juejin-spider",
"scripts": {
"all": "npm run tagList && npm run allTagData && npm run userData && npm run dianzan && npm run userdianzan && npm run view && npm run comment && npm run follower && npm run sitedata",
"start": "npm run tagList",
"tagList": "cross-env TASK=tagList node App.js",
"allTagData": "cross-env TASK=allTagData node App.js",
"composeArticleData": "cross-env TASK=composeArticleData node App.js",
"userData": "cross-env TASK=userData node App.js",
"dianzan": "cross-env TASK=dianzan node App.js",
"userdianzan": "cross-env TASK=userdianzan node App.js",
"view": "cross-env TASK=view node App.js",
"comment": "cross-env TASK=comment node App.js",
"follower": "cross-env TASK=follower node App.js",
"uidfile": "cross-env TASK=uidfile node App.js",
"sitedata": "cross-env TASK=sitedata node App.js",
"deploy": "node ./deploy.js",
"lint": "eslint .",
"test": "jest",
"prepare": "cd website && npm i"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"author": "lxfriday",
"license": "MIT",
"dependencies": {
"async": "^3.1.0",
"chalk": "^2.4.2",
"openbrowser": "^1.0.2",
"request": "^2.85.0",
"request-promise": "^4.2.4",
"shelljs": "^0.8.3"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"babel-eslint": "^10.0.2",
"cross-env": "^5.2.1",
"eslint": "^6.1.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"gh-pages": "^2.1.1",
"husky": "^3.0.3",
"jest": "^24.9.0",
"lint-staged": "^9.2.1",
"prettier": "^1.18.2"
}
}