forked from gengjiawen/crawler-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 1.52 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
{
"name": "crawler-toolbox",
"version": "1.4.0",
"description": "crawler toolbox",
"main": "build/index.js",
"repository": {
"url": "gengjiawen/crawler-toolbox",
"type": "git"
},
"keywords": [
"crawler",
"http",
"ajax",
"proxy",
"node"
],
"author": "jiawen geng <[email protected]>",
"scripts": {
"start": "tsc -w",
"server": "nodemon --exec ts-node libs/index.ts",
"clean": "rimraf build",
"format": "prettier --write \"{examples,libs,script,test,bin}/**/*.{js,ts}\" \"*.yml\"",
"format:check": "prettier --list-different \"{examples,libs,script,test,bin}/**/*.{js,ts}\" \"*.yml\"",
"test": "jest",
"build": "npm run clean && tsc -p ./tsconfig.json",
"prepare": "husky install"
},
"dependencies": {
"@mozilla/readability": "^0.4.1",
"@types/cheerio": "^0.22.30",
"async": "^3.2.1",
"axios": "^0.21.4",
"better-sqlite3": "^7.4.3",
"cheerio": "^1.0.0-rc.10",
"turndown": "^7.1.1",
"turndown-plugin-gfm": "^1.0.2",
"typeorm": "^0.2.37"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "27.0.2",
"@types/node": "16.10.1",
"jest": "27.2.3",
"lint-staged": "^11.1.2",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"ts-jest": "27.0.5",
"typescript": "4.4.3",
"husky": "^7.0.2"
},
"lint-staged": {
"*.{js,ts,tsx,md,css,html,yml}": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
}
}