-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
65 lines (65 loc) · 2.07 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
{
"name": "websight",
"version": "1.0.0",
"description": "Crawler + sitemap generator for Monzo's coding challenge",
"main": "lib/index.js",
"bin": {
"websight": "lib/index.js"
},
"repository": {
"url": "https://github.com/paambaati/websight",
"type": "git"
},
"author": "GP <me@httgp.com>",
"license": "WTFPL",
"private": true,
"scripts": {
"start": "node lib/index.js",
"debug": "run(){ LOG_LEVEL=debug ts-node -T src/index.ts \"$1\" | pino-pretty --colorize; }; run",
"build": "tsc",
"format": "eslint --fix --ext .ts src/ && eslint --fix --config .eslintrc.test.json --ext .ts test/",
"lint": "eslint --ext .ts src/",
"lint:test": "eslint --config .eslintrc.test.json --ext .ts test/",
"test": "NODE_ENV=test LOG_LEVEL=silent tape -r ts-node/register/transpile-only test/*.test.ts",
"coverage": "rm -rf ./node_modules/.cache && rm -rf coverage/ && rm -rf .nyc_output/ && NODE_ENV=test LOG_LEVEL=silent nyc tape -r ts-node/register/transpile-only test/*.test.ts",
"bundle": "ncc build src/index.ts -o bundle",
"binary": "js2bin --cache --build --platform=darwin --platform=linux --platform=windows --app=./bundle/index.js --name=websight"
},
"engines": {
"node": ">=6.3.0"
},
"os": [
"linux",
"darwin"
],
"dependencies": {
"agentkeepalive": "4.1.0",
"got": "11.7.0",
"htmlparser2": "4.1.0",
"pino": "6.6.1"
},
"devDependencies": {
"@types/got": "9.6.11",
"@types/node": "14.11.2",
"@types/pino": "6.0.0",
"@types/tape": "4.13.0",
"@types/test-console": "1.1.0",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"@zeit/ncc": "0.22.1",
"eslint": "6.8.0",
"eslint-config-airbnb-typescript": "7.2.1",
"eslint-plugin-import": "2.20.2",
"get-stream": "5.1.0",
"js2bin": "1.0.6",
"nock": "12.0.3",
"nyc": "15.1.0",
"pino-pretty": "4.0.0",
"qs": "6.11.0",
"tape": "4.13.0",
"test-console": "1.1.0",
"to-readable-stream": "2.1.0",
"ts-node": "9.0.0",
"typescript": "3.8.3"
}
}