-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.79 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 3.79 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
98
99
100
101
102
103
104
{
"name": "@abdssamie/convex-analytics",
"description": "A convex analytics component for Convex.",
"repository": "github:Abdssamie/convex-analytics",
"homepage": "https://github.com/Abdssamie/convex-analytics#readme",
"bugs": {
"url": "https://github.com/Abdssamie/convex-analytics/issues"
},
"version": "0.2.1",
"license": "Apache-2.0",
"keywords": [
"convex",
"component"
],
"type": "module",
"scripts": {
"dev": "convex dev --run example:setupDefaultSite --start 'npm run dev:build'",
"dev:frontend": "cd example && vite",
"example:build": "cd example && vite build",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial",
"predev": "convex init && npm run build:codegen",
"build": "tsc --build ./tsconfig.build.json --force",
"build:embed": "node scripts/build-embed.mjs",
"build:codegen": "npx convex codegen --component-dir ./src/component && npm run build",
"build:clean": "rm -rf dist *.tsbuildinfo && npm run build:codegen && npm run build:embed",
"typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex",
"lint": "oxlint .",
"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",
"perf:playwright": "playwright test -c playwright.load.config.ts",
"perf:k6": "k6 run perf/k6/analytics-ingest.js",
"verify:release": "npm run build:clean && npm run lint && npm run typecheck && npm test && npm pack",
"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": "prettier -w CHANGELOG.md && git add CHANGELOG.md",
"prepublishOnly": "npm run build:clean"
},
"files": [
"dist",
"src"
],
"unpkg": "./dist/embed/convex-analytics.js",
"jsdelivr": "./dist/embed/convex-analytics.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./embed": "./dist/embed/convex-analytics.js",
"./embed.js": "./dist/embed/convex-analytics.js",
"./react-native": {
"types": "./dist/react-native/index.d.ts",
"default": "./dist/react-native/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"
},
"./_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.35.1",
"react": "^18.3.1 || ^19.0.0"
},
"devDependencies": {
"@edge-runtime/vm": "^5.0.0",
"@playwright/test": "^1.55.0",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"chokidar-cli": "3.0.0",
"convex": "1.35.1",
"convex-test": "0.0.47",
"oxlint": "^1.60.0",
"pkg-pr-new": "^0.0.66",
"prettier": "3.8.2",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"typescript": "5.9.3",
"vite": "7.3.2",
"vitest": "4.1.4"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}