forked from GoogleChrome/rendertron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.49 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
{
"name": "rendertron",
"version": "3.1.0",
"description": "Renders webpages using headless Chrome for usage by bots",
"license": "Apache-2.0",
"repository": "https://github.com/GoogleChrome/rendertron",
"engines": {
"node": ">=10"
},
"main": "build/rendertron.js",
"types": "build/rendertron.d.ts",
"bin": "bin/rendertron",
"scripts": {
"build": "tsc",
"prepack": "npm run build",
"start": "node build/rendertron.js",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "npm run lint -- --fix",
"format:prettier": "prettier \"**/*.{html,js,json,md,ts}\" --ignore-path .gitignore --write",
"lint": "eslint \"**/*.{js,ts}\" --ignore-path .gitignore",
"monitor": "nodemon",
"monitor-inspect": "nodemon --inspect src/main.js",
"test": "(cd test-resources && npm install) && npm run build && ava build/test/app-test.js --timeout 5s",
"start-emulator": "(gcloud beta emulators datastore start --no-store-on-disk --project emulator-project --host-port localhost:8380 &) 2>&1 | grep -m1 'now running'",
"test-cache": "npm run build && npm run start-emulator && $(gcloud beta emulators datastore env-init) && export GCLOUD_PROJECT=emulator-project && ava build/test/*-cache-test.js"
},
"files": [
"bin/",
"build/",
"!build/test/",
"app.json"
],
"dependencies": {
"@webcomponents/webcomponentsjs": "^2.5.0",
"chrome-launcher": "^0.13.4",
"chrome-remote-interface": "^0.29.0",
"fs-extra": "^9.1.0",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-compress": "^5.0.1",
"koa-logger": "^3.2.1",
"koa-route": "^3.2.0",
"koa-send": "^5.0.1",
"koa-static": "^5.0.0",
"performance-now": "^2.1.0",
"puppeteer": "^5.5.0",
"semver": "^7.3.4"
},
"devDependencies": {
"@google-cloud/datastore": "^6.3.1",
"@types/fs-extra": "^9.0.7",
"@types/koa": "^2.11.6",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-compress": "^4.0.1",
"@types/koa-logger": "^3.1.1",
"@types/koa-route": "^3.2.4",
"@types/koa-send": "^4.1.2",
"@types/koa-static": "^4.0.1",
"@types/node": "^14.14.10",
"@types/puppeteer": "^5.4.3",
"@types/supertest": "^2.0.10",
"@typescript-eslint/parser": "^4.14.2",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"ava": "^3.15.0",
"eslint": "^7.23.0",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"typescript": "4.0.5"
},
"prettier": {
"singleQuote": true
}
}