-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
136 lines (136 loc) · 3.34 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@nodecfdi/cfdi-cleaner",
"description": "Librería para limpiar comprobantes fiscales digitales v3.3 y v4.0",
"version": "2.3.1",
"type": "module",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./types": {
"import": {
"types": "./dist/esm/types.d.ts",
"default": "./dist/esm/types.js"
},
"require": {
"types": "./dist/commonjs/types.d.ts",
"default": "./dist/commonjs/types.js"
}
}
},
"imports": {
"#src/*": "./src/*.js"
},
"scripts": {
"prepare": "is-in-ci || husky",
"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",
"gen:docs": "typedoc --options typedoc.json",
"changelog": "auto-changelog -p && git add CHANGELOG.md",
"prebuild": "pnpm lint:check && pnpm typecheck",
"build": "tshy",
"postbuild": "pnpm run gen:docs && git add docs/*",
"release": "np",
"version": "pnpm run build && pnpm run changelog"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@jsprismarine/typedoc-material-theme": "^1.0.4",
"@nodecfdi/cfdi-core": "^0.6.1",
"@nodecfdi/eslint-config": "^2.1.2",
"@nodecfdi/prettier-config": "^1.2.0",
"@nodecfdi/tsconfig": "^1.7.2",
"@types/node": "^20.16.11",
"@vitest/coverage-istanbul": "^2.1.3",
"auto-changelog": "^2.5.0",
"eslint": "^9.12.0",
"husky": "^9.1.6",
"is-in-ci": "^1.0.0",
"jest-xml-matcher": "^1.2.0",
"np": "^10.0.7",
"prettier": "^3.3.3",
"tshy": "^3.0.2",
"typedoc": "^0.26.9",
"typescript": "^5.6.3",
"vitest": "^2.1.3"
},
"dependencies": {
"ts-mixer": "^6.0.4",
"xpath": "^0.0.34"
},
"peerDependencies": {
"@nodecfdi/cfdi-core": ">=0.6.1"
},
"author": "Fernando Isidro <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/nodecfdi/cfdi-cleaner",
"repository": {
"type": "git",
"url": "git+https://github.com/nodecfdi/cfdi-cleaner.git"
},
"bugs": {
"url": "https://github.com/nodecfdi/cfdi-cleaner/issues"
},
"keywords": [
"cfdi",
"SAT",
"CFDI",
"xml",
"clean"
],
"engines": {
"node": ">=18 <=22 || ^16"
},
"browserslist": [
"defaults",
"not IE 11"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": "@nodecfdi/prettier-config",
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"auto-changelog": {
"template": "keepachangelog",
"hideCredit": true
},
"np": {
"message": "chore(release): :tada: %s",
"tag": "latest",
"branch": "main",
"testScript": "test:run"
},
"tshy": {
"selfLink": false,
"exports": {
".": "./src/index.ts",
"./types": "./src/types.ts"
}
}
}