forked from gt-scheduler/crawler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "gt-schedule-crawler",
"version": "1.0.0",
"scripts": {
"start": "export NODE_EXTRA_CA_CERTS=\"$PWD/intermediate.pem\" && ts-node src",
"start-logged": "export NODE_EXTRA_CA_CERTS=\"$PWD/intermediate.pem\" && logfile=\"$(date --iso-8601=seconds).log\"; echo \"Logging to '$logfile'\"; LOG_FORMAT=json ts-node src > \"$logfile\" 2>&1; echo 'Done'",
"start:windows": "set NODE_EXTRA_CA_CERTS=%cd%/intermediate.pem && ts-node src",
"start-logged:windows": "set NODE_EXTRA_CA_CERTS=%cd%/intermediate.pem && logfile=\"$(date --iso-8601=seconds).log\"; echo \"Logging to '$logfile'\"; LOG_FORMAT=json ts-node src > \"$logfile\" 2>&1; echo 'Done'",
"gen-parser": "antlr4ts -visitor src/steps/prereqs/grammar/Prerequisites.g4",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.ts\" --ignore-pattern \"src/steps/prereqs/grammar/**/*\"",
"lint:fix": "eslint \"src/**/*.ts\" --ignore-pattern \"src/steps/prereqs/grammar/**/*\" --fix",
"format": "prettier \"src/**/*.{ts,md,json}\" \"*.{ts,md,json}\" --write",
"format:check": "prettier \"src/**/*.{ts,md,json}\" \"*.{ts,md,json}\" --check"
},
"dependencies": {
"antlr4ts": "^0.5.0-alpha.3",
"axios": "^1.3.4",
"cheerio": "^1.0.0-rc.12",
"exponential-backoff": "^3.1.0",
"fast-safe-stringify": "^2.0.8",
"fs": "^0.0.1-security",
"lodash": "^4.17.21",
"tiny-async-pool": "^1.2.0"
},
"devDependencies": {
"@types/lodash": "^4.14.191",
"@types/node": "^14.0.24",
"@types/tiny-async-pool": "^1.0.0",
"@types/tough-cookie": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"antlr4ts-cli": "^0.5.0-alpha.3",
"eslint": "^7.26.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.2",
"husky": "^4.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-node": "^8.10.2",
"typescript": "^4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint"
],
"src/**/*.{js,ts,md,json}": [
"prettier --write"
],
"*.{js,ts,md,json}": [
"prettier --write"
]
}
}