-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.41 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.41 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
{
"name": "@vatverify/node",
"version": "0.2.1",
"description": "Official Node.js client for the vatverify API. Validate VAT numbers, run tax-rules decisions, fetch rates. Cross-runtime: Node 18+, Bun, Deno, Vercel Edge, Cloudflare Workers.",
"keywords": [
"vat",
"vat-validation",
"vat-number",
"vat-api",
"vies",
"hmrc",
"eu-vat",
"tax",
"typescript",
"sdk",
"vatverify"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./errors": {
"import": {
"types": "./dist/errors.d.ts",
"default": "./dist/errors.js"
},
"require": {
"types": "./dist/errors.d.cts",
"default": "./dist/errors.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:types": "tsd",
"sync-openapi": "tsx scripts/sync-openapi.ts",
"gen-types": "openapi-typescript openapi.json -o src/generated/types.ts",
"test:edge": "vitest run --config vitest.edge.config.ts",
"test:node-runtime": "vitest run --config vitest.runtime-node.config.ts",
"prepublishOnly": "npm run typecheck && npm test && npm run build"
},
"devDependencies": {
"@edge-runtime/vm": "^5.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^4.1.4",
"msw": "^2.4.0",
"openapi-typescript": "^7.4.0",
"tsd": "^0.31.0",
"tsup": "^8.3.0",
"tsx": "^4.19.0",
"typescript": "^5.6.0",
"vitest": "^4.1.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vatverify/node.git"
},
"homepage": "https://vatverify.dev",
"bugs": {
"url": "https://github.com/vatverify/node/issues"
},
"license": "MIT",
"author": "Miguel Guelbenzu",
"tsd": {
"directory": "tests/types",
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true
}
}
}