62 lines
2.0 KiB
JSON
62 lines
2.0 KiB
JSON
{
|
|
"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 <ryan@wonko.com>",
|
|
"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"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!dist/tsconfig.tsbuildinfo",
|
|
"src",
|
|
"LICENSE"
|
|
],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"browser": "./dist/browser.js",
|
|
"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"
|
|
},
|
|
"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 .",
|
|
"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'"
|
|
}
|
|
} |