@nodecfdi/cfdi-core
Version:
Librería que contiene las herramientas base para trabajar con CFDI's
121 lines • 3.06 kB
JSON
{
"name": "@nodecfdi/cfdi-core",
"description": "Librería que contiene las herramientas base para trabajar con CFDI's",
"version": "1.0.1",
"type": "module",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"files": [
"build"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js"
},
"imports": {
"#src/*": "./src/*.js"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@nodecfdi/eslint-config": "^3.4.0",
"@nodecfdi/prettier-config": "^1.4.1",
"@nodecfdi/tsconfig": "^1.7.4",
"@types/node": "^22.15.32",
"@vitest/coverage-istanbul": "^3.2.4",
"auto-changelog": "^2.5.0",
"del-cli": "^6.0.0",
"eslint": "^9.29.0",
"husky": "^9.1.7",
"is-in-ci": "^1.0.0",
"jest-xml-matcher": "^1.2.0",
"np": "^10.2.0",
"prettier": "^3.6.0",
"tsup": "^8.5.0",
"typedoc": "^0.28.5",
"typedoc-github-theme": "^0.3.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"dependencies": {
"@xmldom/xmldom": "^0.9.8"
},
"author": "Fernando Isidro <luffynando@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/nodecfdi/cfdi-core",
"repository": {
"type": "git",
"url": "git+https://github.com/nodecfdi/cfdi-core.git"
},
"bugs": {
"url": "https://github.com/nodecfdi/cfdi-core/issues"
},
"keywords": [
"cfdi",
"cfdiutils",
"elements",
"xml",
"dom",
"structure",
"node"
],
"engines": {
"node": ">=18"
},
"browserslist": [
"defaults",
"not IE 11"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": "@nodecfdi/prettier-config",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"auto-changelog": {
"template": "keepachangelog",
"hideCredit": true
},
"np": {
"message": "chore(release): :tada: %s",
"tag": "latest",
"branch": "main",
"testScript": "test:run"
},
"tsup": {
"entry": [
"./index.ts",
"./src/types.ts"
],
"outDir": "./build",
"clean": false,
"format": "esm",
"dts": true,
"target": "esnext",
"platform": "neutral"
},
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"tool:code": "pnpm run lint:check && pnpm run format:check && pnpm run typecheck",
"tool:build": "pnpm run tool:code && pnpm run test:run",
"clean": "del-cli build",
"gen:docs": "typedoc --options typedoc.json",
"changelog": "auto-changelog -p && git add CHANGELOG.md",
"prebuild": "pnpm run lint:check && pnpm run typecheck",
"build": "pnpm run clean && tsup",
"postbuild": "pnpm run gen:docs && git add docs/*",
"release": "np",
"version": "pnpm run build && pnpm run changelog"
}
}