Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.45 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
{
"name": "@eurovalidate/sdk",
"version": "0.1.1",
"description": "Official Node.js/TypeScript SDK for the EuroValidate API — validate EU VAT, IBAN, EORI, and company data.",
"author": "EuroValidate",
"license": "MIT",
"homepage": "https://eurovalidate.com",
"repository": {
"type": "git",
"url": "https://github.com/eurovalidate/sdk-node.git"
},
"keywords": [
"vat",
"iban",
"eori",
"eu",
"validation",
"vies",
"company",
"lei",
"tax",
"europe"
],
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist",
"cjs-package.json"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc --project tsconfig.json",
"build:cjs": "tsc --project tsconfig.cjs.json && cp cjs-package.json dist/cjs/package.json",
"test": "node --test --loader ts-node/esm tests/client.test.ts",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"devDependencies": {
"@types/node": "^20.0.0",
"ts-node": "^10.9.0",
"typescript": "^5.9.3"
}
}