UNPKG

xml2o

Version:

Helps you convert XML into an object for easy reading.

72 lines (71 loc) 2.66 kB
{ "name": "xml2o", "version": "0.4.14", "description": "Helps you convert XML into an object for easy reading.", "keywords": [ "sax", "simple-xml", "xml", "xml-reader", "xml-to-js" ], "homepage": "https://github.com/izatop/xml2o#readme", "bugs": { "url": "https://github.com/izatop/xml2o/issues" }, "license": "MIT", "author": "izatop@gmail.com", "repository": { "type": "git", "url": "git+https://github.com/izatop/xml2o.git" }, "files": [ "dist", "README.md", "LICENSE" ], "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/types/index.d.ts", "typings": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.mjs" } }, "scripts": { "clean": "rimraf dist tsconfig.tsbuildinfo tsconfig.esnext.tsbuildinfo tsconfig.cjs.tsbuildinfo", "typecheck:source": "tsc -p tsconfig.esnext.json && tsc -p tsconfig.cjs.json", "build:types": "tsc -p tsconfig.esnext.json --noEmit false --emitDeclarationOnly", "build:esm": "bun build src/index.ts --target=node --format=esm --packages=external --sourcemap=linked --minify-syntax --outdir=dist --entry-naming=index.mjs", "build:cjs": "bun build src/index.ts --target=node --format=cjs --packages=external --sourcemap=linked --minify-syntax --outdir=dist --entry-naming=index.cjs", "build": "bun run clean && bun run typecheck:source && bun run build:types && bun run build:esm && bun run build:cjs", "test": "bun test", "test:watch": "bun test --watch", "test:typecheck": "tsc -p test/tsconfig.json", "test:package": "bun test/package-consumer.ts", "lint": "oxlint .", "lint:fix": "oxlint --fix .", "fmt": "oxfmt .", "fmt:check": "oxfmt --check .", "check": "bun run fmt:check && bun run lint && bun run typecheck:source && bun run test:typecheck && bun test && bun run build && bun run test:package", "security": "bun audit", "postversion": "git push --tags && git push" }, "dependencies": { "sax": "^1.6.1" }, "devDependencies": { "@types/bun": "^1.3.14", "@types/node": "^26.1.2", "@types/sax": "^1.2.7", "oxfmt": "^0.61.0", "oxlint": "^1.76.0", "rimraf": "^6.1.3", "typescript": "7.0.2" }, "packageManager": "bun@1.3.14" }