Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.4 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 3.4 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
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
{
"name": "@convex-dev/batch-worker",
"description": "A batch worker component for Convex.",
"repository": "github:get-convex/batch-worker",
"homepage": "https://github.com/get-convex/batch-worker#readme",
"bugs": {
"url": "https://github.com/get-convex/batch-worker/issues"
},
"version": "0.3.6",
"license": "Apache-2.0",
"keywords": [
"convex",
"component"
],
"type": "module",
"scripts": {
"dev": "convex dev --start 'npm run dev:build'",
"dev:frontend": "cd example && vite",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial",
"predev": "convex init && npm run build:codegen",
"prepare": "npm run build",
"build": "tsc --project ./tsconfig.build.json",
"build:codegen": "npx convex codegen --component-dir ./src/component && npm run build",
"build:clean": "rm -rf dist *.tsbuildinfo && npx convex init && npm run build:codegen",
"typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex",
"lint": "eslint .",
"test": "vitest run --typecheck",
"test:watch": "vitest --typecheck --clearScreen false",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"preversion": "npm ci && npm run build:clean && npm run test && npm run lint && npm run typecheck",
"alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --follow-tags",
"release": "npm version patch && npm publish && git push --follow-tags",
"version": "(npm whoami || npm login) && vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md"
},
"files": [
"dist",
"src"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./test": "./src/test.ts",
"./_generated/component.js": {
"types": "./dist/component/_generated/component.d.ts"
},
"./_generated/component": {
"types": "./dist/component/_generated/component.d.ts"
},
"./convex.config.js": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
},
"./convex.config": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"convex": "^1.43.0"
},
"devDependencies": {
"@convex-dev/eslint-plugin": "^2.0.0",
"@convex-dev/rate-limiter": "^0.3.2",
"@convex-dev/static-hosting": "^0.2.0-alpha.2",
"@edge-runtime/vm": "^5.0.0",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "9.39.4",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"chokidar-cli": "3.0.0",
"convex": "1.46.0",
"convex-test": "0.0.62",
"eslint": "9.39.4",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.5.0",
"pkg-pr-new": "^0.0.66",
"prettier": "3.8.3",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"typescript": "6.0.3",
"typescript-eslint": "8.58.2",
"vite": "8.1.5",
"vitest": "4.1.4"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js",
"dependencies": {
"convex-helpers": "^0.1.127"
}
}