-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) · 2.44 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
{
"name": "@convex-dev/rate-limiter",
"description": "A rate limiter component for Convex. Define and use application-layer rate limits. Type-safe, transactional, fair, safe, and configurable sharding to scale.",
"repository": {
"type": "git",
"url": "git+https://github.com/get-convex/rate-limiter.git"
},
"homepage": "https://github.com/get-convex/rate-limiter#readme",
"bugs": {
"email": "[email protected]",
"url": "https://github.com/get-convex/rate-limiter/issues"
},
"version": "0.2.3",
"license": "Apache-2.0",
"keywords": [
"convex",
"component"
],
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc --project ./esm.json && echo '{\\n \"type\": \"module\"\\n}' > dist/esm/package.json",
"build:cjs": "tsc --project ./commonjs.json && echo '{\\n \"type\": \"commonjs\"\\n}' > dist/commonjs/package.json",
"dev": "cd example; npm run dev",
"typecheck": "tsc --noEmit",
"prepare": "npm run build",
"test": "vitest",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text"
},
"files": [
"dist",
"src"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/esm/client/index.d.ts",
"default": "./dist/esm/client/index.js"
},
"require": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/commonjs/client/index.d.ts",
"default": "./dist/commonjs/client/index.js"
}
},
"./convex.config": {
"import": {
"@convex-dev/component-source": "./src/component/convex.config.ts",
"types": "./dist/esm/component/convex.config.d.ts",
"default": "./dist/esm/component/convex.config.js"
}
}
},
"peerDependencies": {
"convex": "~1.16.5 || ~1.17.0"
},
"devDependencies": {
"@edge-runtime/vm": "^4.0.3",
"@eslint/js": "^9.9.1",
"@types/node": "^18.17.0",
"@vitest/coverage-v8": "^2.0.5",
"convex-test": "^0.0.30",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"prettier": "3.2.5",
"typescript": "~5.0.3",
"typescript-eslint": "^8.4.0",
"vitest": "^2.0.5"
},
"main": "./dist/commonjs/client/index.js",
"types": "./dist/commonjs/client/index.d.ts",
"module": "./dist/esm/client/index.js"
}