-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.42 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.42 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
{
"name": "@ziptax/node-sdk",
"version": "0.2.3-beta",
"description": "Official Node.js SDK for the ZipTax API",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:clean && npm run build:version && npm run build:cjs && npm run build:esm && npm run build:types",
"build:clean": "rm -rf dist",
"build:version": "node scripts/generate-version.js",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"pretest": "npm run build:version",
"test": "jest",
"test:watch": "npm run build:version && jest --watch",
"test:coverage": "npm run build:version && jest --coverage",
"lint": "eslint 'src/**/*.ts' 'tests/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' 'tests/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts'",
"type-check": "npm run build:version && tsc --noEmit",
"example:basic": "tsx examples/basic-usage.ts",
"example:async": "tsx examples/async-usage.ts",
"example:errors": "tsx examples/error-handling.ts",
"example:taxcloud": "tsx examples/taxcloud-orders.ts",
"prepublishOnly": "npm run build && npm run test && npm run lint && npm run type-check"
},
"keywords": [
"tax",
"ziptax",
"api",
"sdk",
"sales tax",
"node",
"typescript"
],
"author": "ZipTax Team <support@zip.tax>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ZipTax/ziptax-node"
},
"bugs": {
"url": "https://github.com/ZipTax/ziptax-node/issues"
},
"homepage": "https://github.com/ZipTax/ziptax-node#readme",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"axios": "^1.6.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"prettier": "^3.0.0",
"ts-jest": "^29.0.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0"
}
}