-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
72 lines (72 loc) · 2.26 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
{
"name": "@convex-dev/aggregate",
"description": "Convex component to calculate counts and sums of values for efficient aggregation.",
"version": "0.1.20",
"keywords": [
"convex",
"component",
"aggregate",
"count",
"sum"
],
"homepage": "https://github.com/get-convex/aggregate",
"repository": "github:get-convex/aggregate",
"bugs": "https://github.com/get-convex/aggregate/issues",
"license": "Apache-2.0",
"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",
"typecheck": "tsc --noEmit",
"prepare": "npm run build",
"test": "vitest run",
"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 <1.25.0"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@fast-check/vitest": "^0.1.3",
"@types/node": "^18.17.0",
"@vitest/coverage-v8": "^2.1.1",
"convex-test": "^0.0.34",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"prettier": "3.2.5",
"typescript": "~5.0.3",
"typescript-eslint": "^8.4.0",
"vitest": "^2.1.1"
},
"main": "./dist/commonjs/client/index.js",
"types": "./dist/commonjs/client/index.d.ts",
"module": "./dist/esm/client/index.js"
}