Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.67 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.67 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
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
{
"name": "facturapi",
"version": "6.0.0",
"description": "SDK oficial de Facturapi para Node.js y navegadores. Integra facturación electrónica en México (CFDI) de forma simple y obtén una perspectiva fiscal completa de tu operación, con búsquedas indexadas, envío de documentos y trazabilidad.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.cts",
"sideEffects": false,
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"packageManager": "pnpm@12.6.0",
"scripts": {
"build": "vite build && tsc --noEmit && rolldown -c && node scripts/commonjs-types.mjs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"test:node": "vitest run --config vitest.node.config.mts",
"test:web": "vitest run --config vitest.web.config.mts",
"test:browser": "pnpm run build && playwright test",
"test:unit": "pnpm run test:node && pnpm run test:web",
"test:types": "tsd --files test-d/runtime-types.test-d.ts && tsc --ignoreConfig --noEmit --module NodeNext --moduleResolution NodeNext --target ES2022 test-d/package-exports.mts test-d/package-exports.cts && tsc --ignoreConfig --noEmit --module commonjs --moduleResolution node10 --ignoreDeprecations 6.0 --target ES2022 test-d/legacy-package-exports.cts && tsc --project playground",
"test": "pnpm run build && pnpm run test:unit && pnpm run test:types && pnpm run test:compat",
"ci": "pnpm run test",
"test:compat": "node --test test/compat/*.test.cjs test/compat/*.test.mjs",
"generate:sdk": "node scripts/generate-sdk.mjs",
"generate:sdk:check": "node scripts/generate-sdk.mjs --check",
"sync:openapi": "node scripts/sync-openapi.mjs",
"playground:check": "pnpm run build && tsc --project playground",
"prepare": "husky"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=12.6.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/FacturAPI/facturapi-node.git"
},
"keywords": [
"cfdi",
"factura",
"factura-electronica",
"facturacion-electronica",
"comprobante-fiscal-digital",
"sat-mexico",
"mexico",
"sat",
"facturación",
"facturapi"
],
"author": "Facturación Espacial <contacto@facturapi.io>",
"contributors": [
{
"name": "Raúl Sánchez"
},
{
"name": "Javier Rosas"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/facturapi/facturapi-node/issues"
},
"homepage": "https://github.com/facturapi/facturapi-node#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "1.64.1",
"@types/node": "^26.6.6",
"eslint": "^10.13.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.13.0",
"husky": "^9.1.7",
"js-yaml": "5.5.0",
"jsdom": "^30.1.3",
"lint-staged": "^17.6.0",
"openapi-typescript": "7.13.0",
"prettier": "^3.9.10",
"rolldown": "^1.2.16",
"rolldown-plugin-dts": "^0.29.0",
"tsd": "^0.33.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.1",
"vite": "8.3.5",
"vitest": "^5.0.5"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,jsonc,md,yaml,yml}": "prettier --write"
}
}