-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
64 lines (64 loc) · 2.09 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
{
"name": "@rgrove/parse-xml",
"version": "4.2.0",
"description": "A fast, safe, compliant XML parser for Node.js and browsers.",
"keywords": [
"xml",
"xml parser",
"parse-xml",
"parse xml",
"parse",
"parser"
],
"author": "Ryan Grove <[email protected]>",
"license": "ISC",
"homepage": "https://github.com/rgrove/parse-xml",
"bugs": "https://github.com/rgrove/parse-xml/issues",
"repository": {
"type": "git",
"url": "https://github.com/rgrove/parse-xml.git"
},
"engines": {
"node": ">=14.0.0"
},
"packageManager": "[email protected]",
"files": [
"dist",
"!dist/tsconfig.tsbuildinfo",
"src",
"LICENSE"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"browser": "./dist/browser.js",
"scripts": {
"build": "pnpm run build:js && pnpm run build:bundle && pnpm run build:docs",
"build:bundle": "./scripts/esbuild.js",
"build:docs": "typedoc src/index.ts",
"build:js": "tsc",
"clean": "rm -rf .nyc_output coverage dist docs tests/.build",
"coverage": "nyc --reporter html --report-dir coverage pnpm test && open coverage/index.html",
"lint": "pnpm run build:js && pnpm run lint:js",
"lint:js": "eslint .",
"prepublishOnly": "pnpm run clean && pnpm run build",
"test": "pnpm run build:js && nyc --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 mocha && pnpm run test:types",
"test:browser": "pnpm run build:js && pnpm run build:bundle && scripts/test/browser.js",
"test:types": "pnpm run build:js && tsc --noEmit tests/types.expect.ts",
"test:watch": "pnpm run build:js && concurrently --kill-others-on-fail --names build,mocha 'pnpm run build:js --watch' 'mocha --watch'"
},
"devDependencies": {
"@rgrove/eslint-config": "^5.1.0",
"@types/node": "^22.7.9",
"assert": "^2.1.0",
"concurrently": "^9.0.1",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"expect-type": "^1.1.0",
"mocha": "^10.7.3",
"nyc": "^17.1.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"typedoc": "^0.26.10",
"typescript": "5.6.3"
}
}