-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
69 lines (69 loc) · 1.62 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
{
"name": "geek-time-topdf",
"version": "4.1.0",
"description": "use puppeteer geek time course to pdf",
"main": "index.js",
"scripts": {
"start": "node index init",
"clear": "node index clear",
"format-code": "prettier-eslint --write \"src/**/*.js\"",
"lint-staged": "lint-staged",
"precommit-msg": "echo '🐉 Start pre-commit checks...' && exit 0",
"postinstall": "node node_modules/husky/lib/installer/bin install"
},
"engines": {
"node": ">=8.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guowenfh/geek-time-topdf.git"
},
"keywords": [
"puppeteer",
"inquirer",
"commander",
"pdf"
],
"author": "guowenfh",
"license": "MIT",
"bugs": {
"url": "https://github.com/guowenfh/geek-time-topdf/issues"
},
"homepage": "https://github.com/guowenfh/geek-time-topdf#readme",
"bin": {
"gkpdf": "./bin/gkpdf"
},
"dependencies": {
"axios": "^0.21.1",
"commander": "^5.0.0",
"husky": "^4.2.3",
"inquirer": "^7.1.0",
"progress": "^2.0.3",
"puppeteer": "^2.0.0",
"set-cookie-parser": "^2.3.5"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.0.1",
"lint-staged": "^10.0.9",
"prettier": "^2.0.2",
"prettier-eslint-cli": "^5.0.0"
},
"lint-staged": {
"src/**/*.{js,ts,json}": [
"prettier-eslint --write",
"git add"
]
},
"pre-commit": [
"precommit-msg",
"lint-staged"
],
"husky": {
"hooks": {
"pre-commit": "npm run precommit-msg && lint-staged"
}
}
}