-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.74 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.74 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
{
"name": "@borgar/simple-xml",
"version": "2.2.2",
"description": "A reasonably fast, simple and pure-JS XML parser with no dependencies",
"type": "module",
"source": "lib/index.ts",
"main": "dist/index.cjs",
"types": "dist/index.d.cts",
"exports": {
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"default": "./dist/index.js"
}
},
"directories": {
"test": "test"
},
"scripts": {
"lint": "eslint lib/",
"test": "vitest run",
"check": "npm run test && npm run lint && npm run typecheck",
"typecheck": "tsc --noEmit",
"docs": "typedoc && concat-md tempdocs > API.md && rm -rf tempdocs",
"build:dist": "tsup",
"build": "npm run build:dist && npm run docs && echo 'Success!'",
"release": "git diff --exit-code && tsup && npm publish && V=$(jq -r .version package.json) && git tag -a $V -m $V && git push origin $V && gh release create $V --generate-notes"
},
"tsup": {
"entry": [
"lib/index.ts"
],
"format": [
"esm",
"cjs"
],
"splitting": false,
"sourcemap": true,
"clean": true,
"dts": true
},
"repository": {
"type": "git",
"url": "git@github.com:borgar/simple-xml.git"
},
"keywords": [
"xml",
"parser"
],
"engines": {
"node": ">=16.0.0"
},
"author": "Borgar Þorsteinsson <borgar@borgar.net> (http://borgar.net/)",
"license": "MIT",
"devDependencies": {
"@borgar/eslint-config": "~4.0.1",
"@eslint/js": "~9.38.0",
"concat-md": "~0.5.1",
"eslint": "~9.38.0",
"jsdoc": "~4.0.5",
"tsup": "~8.5.1",
"typedoc": "~0.28.17",
"typedoc-plugin-markdown": "~4.10.0",
"typescript": "~5.9.3",
"typescript-eslint": "~8.55.0",
"vitest": "~4.0.18"
}
}