Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.88 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.88 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
{
"name": "@convex-dev/static-hosting",
"description": "A static hosting component for Convex.",
"repository": {
"type": "git",
"url": "git+https://github.com/convex/static-hosting.git"
},
"homepage": "https://github.com/convex/static-hosting#readme",
"bugs": {
"url": "https://github.com/convex/static-hosting/issues"
},
"version": "0.2.2",
"license": "Apache-2.0",
"keywords": [
"convex",
"component"
],
"type": "module",
"bin": {
"static-hosting": "dist/cli/index.js"
},
"scripts": {
"dev": "run-p -r 'dev:*'",
"dev:backend": "convex dev --typecheck-components",
"dev:frontend": "cd example && vite --clearScreen false",
"build:example": "cd example && vite build",
"upload:static": "node dist/cli/index.js upload --dist ./example/dist --component staticHosting",
"deploy:static": "node dist/cli/index.js deploy --dist ./example/dist --component staticHosting --build-command \"npm run build:example\"",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial",
"predev": "path-exists .env.local dist || (npm run build && convex dev --once)",
"build": "tsc --build ./tsconfig.build.json --force",
"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 . && prettier --check .",
"all": "run-p -r 'dev:*' 'test:watch'",
"test": "vitest run --typecheck",
"check": "npm run test && npm run typecheck && npm run lint",
"test:e2e": "convex init && npm run build:codegen && convex dev --once --typecheck-components",
"format": "prettier --write .",
"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"
},
"files": [
"dist",
"src",
"CHANGELOG.md",
"INTEGRATION.md",
"MIGRATION.md"
],
"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"
},
"./_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.37.0",
"react": "^18.3.1 || ^19.0.0"
},
"devDependencies": {
"@changesets/cli": "3.0.3",
"@convex-dev/eslint-plugin": "5.0.1",
"@edge-runtime/vm": "5.0.0",
"@eslint/eslintrc": "3.3.7",
"@eslint/js": "9.39.5",
"@types/node": "24.19.2",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.3.0",
"chokidar-cli": "3.0.0",
"convex": "1.49.0",
"convex-test": "0.0.69",
"cpy-cli": "7.0.0",
"eslint": "9.39.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.7",
"globals": "17.14.0",
"npm-run-all2": "9.0.4",
"path-exists-cli": "2.0.0",
"pkg-pr-new": "0.0.93",
"prettier": "3.9.10",
"react": "19.3.1",
"react-dom": "19.3.1",
"typescript": "5.9.3",
"typescript-eslint": "8.72.2",
"vite": "8.3.7",
"vitest": "5.1.0"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}