-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
package.json
69 lines (69 loc) · 2.12 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
{
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/runtime": "^7.11.0",
"@baltpeter/tsconfig": "^3.0.0",
"@segment/ajv-human-errors": "^2.0.0",
"@types/all-the-cities": "^3.1.0",
"@types/chunk": "^0.0.0",
"@types/glob": "^7.1.4",
"@types/marked": "^4.0.2",
"@types/marked-terminal": "^3.1.2",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"ajv": "^8.6.3",
"ajv-formats": "^2.1.1",
"ajv-formats-draft2019": "^1.6.1",
"all-the-cities": "^3.1.0",
"arg": "^5.0.1",
"as-table": "^1.0.55",
"babel-eslint": "^10.1.0",
"chunk": "^0.0.2",
"countries-list": "^2.6.1",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"filter-anything": "^2.2.1",
"glob": "^7.1.6",
"husky": "^4.3.7",
"json-source-map": "^0.6.1",
"jsonpointer": "^5.0.0",
"lint-staged": "^10.5.3",
"marked": "^4.0.12",
"marked-terminal": "^4.2.0",
"picocolors": "^1.0.0",
"prettier": "^2.2.1",
"quicktype": "^16.0.12",
"ts-node": "^10.2.1",
"type-fest": "^2.5.1",
"typescript": "5.1.6",
"typesense": "^1.2.2"
},
"scripts": {
"test": "eslint --ext .json --ext .js --ext .ts && ts-node-transpile-only src/test-records.ts",
"deploy": "ts-node-transpile-only src/deploy-typesense.ts"
},
"husky": {
"hooks": {
"pre-commit": "yarn test"
}
},
"lint-staged": {
"*.{js,json,ts}": [
"prettier --write",
"yarn test"
],
"*.{ts,js}": [
"eslint --fix"
],
"*.ts": [
"bash -c 'tsc' # See: https://github.com/okonet/lint-staged/issues/825#issuecomment-674575655"
]
}
}