-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
47 lines (47 loc) · 1.22 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
{
"name": "puppeteer-render",
"author": "[email protected]",
"version": "1.0.0",
"description": "基于puppeteer和NodeJS的服务端渲染,提供Docker一键部署及API调用接口。",
"main": "src/app.js",
"scripts": {
"dev": "nodemon src/app.js",
"start": "node src/app.js",
"test": "mocha",
"precommit": "lint-staged",
"lint:eslint": "eslint src/**/*.{js,ts} --fix"
},
"lint-staged": {
"{src,test}/**/*.js": [
"prettier --print-width 100 --single-quote --trailing-comma all --no-semi --write",
"git add"
]
},
"license": "MIT",
"type": "module",
"dependencies": {
"@mozilla/readability": "^0.4.2",
"body-parser": "^1.20.0",
"content-disposition": "^0.5.2",
"express": "^4.16.3",
"jsdom": "^20.0.0",
"lodash": "^4.17.20",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"puppeteer": "^11.0.0",
"puppeteer-page-proxy": "^1.2.8",
"qs": "^6.10.1",
"user-agents": "^1.0.1060",
"yup": "^0.32.9"
},
"devDependencies": {
"chai": "^4.3.4",
"eslint": ">=5.16.0",
"eslint-config-google": "^0.14.0",
"fs": "^0.0.1-security",
"husky": "^7.0.2",
"lint-staged": "^11.2.0",
"mocha": "^9.1.2",
"prettier": "^2.4.1"
}
}