-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathpackage.json
105 lines (105 loc) · 3.09 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
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
{
"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/javascript"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
},
"default": "./dist/index.js"
},
"./portal": {
"import": {
"types": "./dist/src/portal/index.d.ts",
"default": "./dist/src/portal/index.js"
},
"require": {
"types": "./dist/cjs/src/portal/index.d.cts",
"default": "./dist/cjs/src/portal/index.cjs"
},
"default": "./dist/src/portal/index.js"
},
"./react": {
"import": {
"types": "./dist/src/react/context.d.ts",
"default": "./dist/src/react/context.js"
},
"default": "./dist/src/react/context.js"
}
},
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"lint": "eslint . --format=pretty",
"format": "prettier --write .",
"build": "duel",
"generate": "node --experimental-strip-types scripts/generate.ts && prettier --write src/client/schemas.ts",
"pretest": "pnpm run build",
"test": "vitest --run",
"test:watch": "vitest --watch",
"prepublishOnly": "pnpm run generate && pnpm run build && pnpm run lint && pnpm run test"
},
"devDependencies": {
"@eslint/compat": "1.2.8",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.25.1",
"@fetch-mock/vitest": "0.2.13",
"@knighted/duel": "2.1.3",
"@types/node": "22.14.1",
"@types/node-fetch": "2.6.12",
"@types/react": "19.1.2",
"@typescript-eslint/eslint-plugin": "8.31.0",
"@typescript-eslint/parser": "8.31.0",
"eslint": "9.25.1",
"eslint-config-prettier": "10.1.2",
"eslint-formatter-pretty": "6.0.1",
"eslint-import-resolver-typescript": "4.3.4",
"eslint-plugin-compat": "6.0.2",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-perfectionist": "4.12.1",
"eslint-plugin-require-extensions": "0.1.3",
"eslint-plugin-unused-imports": "4.1.4",
"eslint-plugin-vitest": "0.5.4",
"fetch-mock": "12.5.2",
"openapi-typescript": "7.6.1",
"prettier": "3.5.3",
"react": "19.1.0",
"rollup": "4.40.0",
"tslib": "2.8.1",
"typescript": "5.8.3",
"vitest": "3.1.2"
},
"browserslist": [
"current node"
],
"dependencies": {
"openapi-fetch": "0.13.5",
"openapi-typescript-helpers": "0.0.15"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"packageManager": "[email protected]+sha512.398035c7bd696d0ba0b10a688ed558285329d27ea994804a52bad9167d8e3a72bcb993f9699585d3ca25779ac64949ef422757a6c31102c12ab932e5cbe5cc92",
"pnpm": {
"patchedDependencies": {
"openapi-typescript": "patches/openapi-typescript.patch"
}
}
}