forked from openmeterio/openmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.02 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.02 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
{
"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 . --ext .ts",
"format": "prettier --list-different --find-config-path --write .",
"build": "rimraf ./dist && tsc --build",
"generate": "openapi-typescript '../../openapi.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": {
"@testing-library/react": "16.0.0",
"@types/node": "20.12.12",
"@types/react": "18.3.3",
"@typescript-eslint/eslint-plugin": "7.12.0",
"@typescript-eslint/parser": "7.12.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-unused-imports": "3.2.0",
"eslint-plugin-vitest": "0.5.3",
"jsdom": "24.1.0",
"openapi-typescript": "6.7.6",
"prettier": "3.3.1",
"react": "18.3.1",
"rimraf": "5.0.7",
"typescript": "5.4.5",
"undici": "6.18.2",
"vitest": "1.6.0"
},
"dependencies": {
"openapi-typescript-fetch": "^2.0.0"
},
"peerDependencies": {
"react": "^18.0.0"
}
}