forked from openmeterio/openmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.7 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
{
"name": "@openmeter/sdk",
"version": "0.0.0",
"description": "Client for OpenMeter: Real-Time and Scalable Usage Metering",
"license": "Apache 2.0",
"homepage": "https://openmeter.io",
"repository": {
"type": "git",
"url": "https://github.com/openmeterio/openmeter.git",
"directory": "api/client/node"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"engines": {
"node": ">=18.16.1"
},
"scripts": {
"lint": "eslint . --ext .ts --format=pretty",
"format": "prettier --write .",
"build": "rimraf ./dist && tsc --build",
"generate": "rimraf ./schemas && openapi-typescript '../../openapi.yaml' --output schemas/openapi.ts && prettier --write schemas/",
"pretest": "pnpm run build",
"test": "vitest --run --threads=false",
"test:watch": "vitest --watch --threads=false",
"prepublishOnly": "pnpm run generate && pnpm run build && pnpm run test && pnpm run lint"
},
"devDependencies": {
"@types/node": "^20.9.4",
"@types/node-fetch": "2.6.7",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-formatter-pretty": "5.0.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-require-extensions": "0.1.3",
"eslint-plugin-unused-imports": "3.0.0",
"eslint-plugin-vitest": "0.3.2",
"openapi-typescript": "6.7.1",
"prettier": "3.1.0",
"rimraf": "5.0.5",
"typescript": "5.2.2",
"vitest": "0.34.6"
},
"browserslist": [
"current node"
],
"dependencies": {
"undici": "^5.27.2"
}
}