-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.27 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.27 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
{
"name": "@convex/reactions",
"description": "A Convex component for adding reactions (like emoji reactions) to any content in your app, with denormalized counts for fast aggregation.",
"repository": "github:get-convex/reactions",
"homepage": "https://github.com/get-convex/reactions#readme",
"bugs": {
"url": "https://github.com/get-convex/reactions/issues"
},
"version": "0.1.0",
"license": "Apache-2.0",
"keywords": [
"convex",
"component"
],
"type": "module",
"scripts": {
"dev": "run-p -r 'dev:*'",
"dev:backend": "convex dev --typecheck-components",
"dev:frontend": "cd example && vite --clearScreen false",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'convex codegen --component-dir ./src/component && npm run build' --initial",
"predev": "npm run dev:backend -- --until-success",
"clean": "rm -rf dist *.tsbuildinfo",
"build": "tsc --project ./tsconfig.build.json",
"typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex",
"lint": "eslint .",
"all": "run-p -r 'dev:*' 'test:watch'",
"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",
"prepare": "npm run build",
"alpha": "npm run clean && npm ci && run-p test lint typecheck && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
"release": "npm run clean && npm ci && run-p test lint typecheck && npm version patch && npm publish && git push --tags",
"version": "pbcopy <<<$npm_package_version; vim 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"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./test": "./src/test.ts",
"./_generated/component.js": {
"types": "./dist/component/_generated/component.d.ts"
},
"./convex.config.js": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"convex": "^1.24.8",
"react": "^18.3.1 || ^19.0.0"
},
"devDependencies": {
"@convex-dev/eslint-plugin": "2.0.0",
"@edge-runtime/vm": "5.0.0",
"@eslint/eslintrc": "3.3.6",
"@eslint/js": "9.39.5",
"@types/node": "20.19.43",
"@types/react": "18.3.31",
"@types/react-dom": "18.3.7",
"@vitejs/plugin-react": "6.0.4",
"chokidar-cli": "3.0.0",
"convex": "1.42.3",
"convex-test": "0.0.54",
"cpy-cli": "7.0.0",
"eslint": "9.39.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-refresh": "0.5.3",
"globals": "17.8.0",
"npm-run-all2": "9.0.3",
"pkg-pr-new": "0.0.82",
"prettier": "3.9.6",
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "6.0.3",
"typescript-eslint": "8.65.0",
"vite": "8.1.5",
"vitest": "4.1.10"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}