-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
84 lines (84 loc) · 2.46 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
{
"name": "@openmeter/web",
"version": "0.0.0",
"description": "Web & React 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/web"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
},
"./*.js": {
"types": "./dist/*.d.ts",
"import": "./dist/*.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"engines": {
"node": ">=18.16.1"
},
"scripts": {
"lint": "eslint .",
"format": "prettier --list-different --find-config-path --write .",
"build": "rimraf ./dist && tsc --build",
"generate": "openapi-typescript '../../openapi.cloud.yaml' --output src/client/openapi.ts && prettier --write src/client/openapi.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.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@testing-library/react": "16.1.0",
"@types/node": "22.10.2",
"@types/react": "19.0.1",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-unused-imports": "4.1.4",
"eslint-plugin-vitest": "0.5.4",
"jsdom": "25.0.1",
"openapi-typescript": "7.4.4",
"prettier": "3.4.2",
"react": "19.0.0",
"rimraf": "6.0.1",
"rollup": "^4.28.1",
"typescript": "5.7.2",
"undici": "7.1.1",
"vitest": "2.1.8"
},
"dependencies": {
"openapi-typescript-fetch": "^2.0.0"
},
"peerDependencies": {
"react": "^18.0.0"
},
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b",
"pnpm": {
"overrides": {
"micromatch@<4.0.8": ">=4.0.8",
"vite@>=5.2.0 <5.2.14": ">=5.2.14",
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5"
}
}
}