-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.91 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.91 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@xarf/xarf",
"version": "1.0.1",
"description": "XARF v4 (eXtended Abuse Reporting Format) parser and generator for JavaScript/TypeScript - supports XARF spec v4.2.0 with backward compatibility for v3",
"xarfSpec": {
"version": "v4.2.0",
"repository": "https://github.com/xarf/xarf-spec"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc && npm run copy-schemas",
"copy-schemas": "cp -r schemas dist/",
"fetch-schemas": "node scripts/fetch-schemas.js",
"check-schema-updates": "node scripts/check-schema-updates.js",
"postinstall": "npm run fetch-schemas",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src tests --ext .ts",
"lint:strict": "eslint src tests --ext .ts --max-warnings=0",
"lint:fix": "eslint src tests --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"dead-code": "ts-prune --error",
"dead-code:check": "ts-prune",
"complexity": "eslint src --ext .ts --no-eslintrc --plugin complexity --rule 'complexity: [error, 10]'",
"complexity:check": "eslint src --ext .ts --no-eslintrc --plugin complexity --rule 'complexity: [warn, 10]'",
"jsdoc": "eslint src --ext .ts --no-eslintrc --plugin jsdoc --parser @typescript-eslint/parser --rule 'jsdoc/require-jsdoc: error'",
"jsdoc:check": "eslint src --ext .ts",
"prepublishOnly": "npm run build && npm test",
"typecheck": "tsc --noEmit",
"prepare": "husky"
},
"keywords": [
"xarf",
"abuse",
"reporting",
"parser",
"security",
"spam",
"phishing",
"ddos"
],
"author": "XARF Project",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/xarf/xarf-javascript.git"
},
"bugs": {
"url": "https://github.com/xarf/xarf-javascript/issues"
},
"homepage": "https://xarf.org",
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-complexity": "^1.0.2",
"eslint-plugin-jsdoc": "^61.5.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-sonarjs": "^3.0.5",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"ts-jest": "^29.4.6",
"ts-prune": "^0.10.3",
"typescript": "^5.3.3"
},
"files": [
"scripts",
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"tar": "^7.5.2"
}
}