-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.13 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 4.13 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@convex-dev/presence",
"description": "Convex component for presence functionality.",
"repository": "github:get-convex/presence",
"homepage": "https://github.com/get-convex/presence#readme",
"bugs": {
"email": "support@convex.dev",
"url": "https://github.com/get-convex/presence/issues"
},
"version": "0.3.0",
"license": "Apache-2.0",
"keywords": [
"convex",
"component",
"presence",
"react",
"react-native",
"expo"
],
"type": "module",
"scripts": {
"dev": "convex dev --start 'npm run dev:build'",
"dev:frontend": "cd example && vite --clearScreen false",
"dev:frontend-with-auth": "cd example-with-auth && vite --clearScreen false",
"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 --project ./tsconfig.build.json && cp src/facepile/facepile.css dist/facepile",
"build:codegen": "npx convex codegen --component-dir ./src/component && npm run build",
"build:clean": "rm -rf dist *.tsbuildinfo && 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"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./react-native": {
"types": "./dist/react-native/index.d.ts",
"default": "./dist/react-native/index.js"
},
"./facepile": {
"types": "./dist/facepile/index.d.ts",
"default": "./dist/facepile/index.js"
},
"./facepile.css": "./dist/facepile/facepile.css",
"./test": "./src/test.ts",
"./_generated/component.js": {
"types": "./dist/component/_generated/component.d.ts"
},
"./convex.config": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
},
"./convex.config.js": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"convex": "^1.24.8",
"expo-crypto": ">=14.1.0",
"react": "~18.3.1 || ^19.0.0",
"react-dom": "~18.3.1 || ^19.0.0",
"react-native": ">=0.79.0"
},
"peerDependenciesMeta": {
"react-native": {
"optional": true
},
"expo-crypto": {
"optional": true
}
},
"devDependencies": {
"@convex-dev/auth": "0.0.91",
"@convex-dev/eslint-plugin": "^2.0.0",
"@edge-runtime/vm": "5.0.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.38.0",
"@types/node": "20.19.24",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"@vitejs/plugin-react": "^5.1.0",
"chokidar-cli": "3.0.0",
"convex": "1.35.1",
"convex-test": "^0.0.38",
"eslint": "^9.38.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.4.0",
"prettier": "^3.6.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-native": "0.82.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2",
"vite": "^7.1.12",
"vitest": "^3.2.4"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}