-
Notifications
You must be signed in to change notification settings - Fork 157
/
package.json
83 lines (83 loc) · 2.35 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "sitemap",
"version": "9.0.0",
"description": "Sitemap-generating lib/cli",
"keywords": [
"sitemap",
"sitemap.xml"
],
"homepage": "https://github.com/ekalinin/sitemap.js#readme",
"bugs": {
"url": "https://github.com/ekalinin/sitemap.js/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/ekalinin/sitemap.js.git"
},
"license": "MIT",
"author": "Eugene Kalinin <[email protected]>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "./dist/cli.js",
"directories": {
"lib": "lib",
"test": "tests"
},
"scripts": {
"build": "tsc",
"lint": "eslint \"{lib,tests}/**/*.ts\" ./cli.ts",
"lint:fix": "eslint --fix \"{lib,tests}/**/*.ts\" ./cli.ts",
"prepare": "husky",
"prepublishOnly": "rm -rf dist && npm run test",
"prettier": "npx prettier --check \"{lib,tests}/**/*.ts\" ./cli.ts",
"prettier:fix": "npx prettier --write \"{lib,tests}/**/*.ts\" ./cli.ts",
"test": "jest",
"test:full": "npm run lint && tsc && jest && npm run test:xmllint",
"test:perf": "node ./tests/perf.js",
"test:schema": "node tests/alltags.js | xmllint --schema schema/all.xsd --noout -",
"test:typecheck": "tsc",
"test:xmllint": "if which xmllint; then npm run test:schema; else echo 'skipping xml tests. xmllint not installed'; fi"
},
"lint-staged": {
"package.json": [
"sort-package-json"
],
"{lib,tests}/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@types/node": "^20.12.12",
"@types/sax": "^1.2.1",
"arg": "^5.0.0",
"sax": "^1.2.4"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/memorystream": "^0.3.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-prettier": "^5.1.3",
"express": "^4.17.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.4",
"memorystream": "^0.3.1",
"prettier": "^3.2.5",
"sort-package-json": "^2.10.0",
"source-map": "~0.7.3",
"stats-lite": "^2.2.0",
"stream-json": "^1.7.1",
"through2-map": "^4.0.0",
"ts-jest": "^29.1.3",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=18.20.3",
"npm": ">=10.5.0"
}
}