forked from ZingyAwesome/easylists-for-pihole
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
65 lines (65 loc) · 2.28 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": "easylists-for-pihole",
"version": "1.0.0",
"description": "Parsing easylist into Pi-hole importable files",
"main": "index.js",
"scripts": {
"postinstall": "npm run husky-install && npx -y fix-lockfile-integrity package-lock.json",
"husky-install": "git config --get core.hookspath || husky",
"build": "npm run eslint && npm run type-check && npm run test",
"preparse": "rimraf generated && rimraf raw && mkdir generated && mkdir raw",
"parse": "node -r ts-node/register/transpile-only -r tsconfig-paths/register src/index.ts",
"parse-and-test": "npm run parse && npm run test-generated",
"eslint": "eslint src/ test/ resources/",
"eslint:fix": "npm run eslint -- --fix",
"prettier": "prettier --write *.json .eslintrc.json .prettierrc tsconfig.json",
"test": "jest --coverage ./test/",
"test-generated": "jest --coverage ./test-generated/",
"type-check": "tsc --build tsconfig.json",
"pre-commit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yoavain/easylists-for-pihole.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/yoavain/easylists-for-pihole/issues"
},
"homepage": "https://github.com/yoavain/easylists-for-pihole#readme",
"engines": {
"node": ">= 22",
"npm": ">= 10"
},
"devDependencies": {
"@tsconfig/node22": "22.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.13.5",
"@typescript-eslint/eslint-plugin": "8.25.0",
"@typescript-eslint/parser": "8.25.0",
"eslint": "8.57.1",
"eslint-import-resolver-typescript": "3.8.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-n": "17.15.1",
"eslint-plugin-security": "1.7.1",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.4.3",
"prettier": "3.5.2",
"rimraf": "6.0.1",
"ts-jest": "29.2.6",
"ts-node": "10.9.2",
"typescript": "5.7.3"
},
"lint-staged": {
"*.ts": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
}
}