-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 3.84 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 3.84 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
{
"name": "@nkzw/fate-private",
"version": "0.0.0",
"private": true,
"description": "fate is a modern data client for React.",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/nkzw-tech/fate.git"
},
"type": "module",
"scripts": {
"build:all": "vp run -r build && vp run generate-readme && vp run copy-files",
"build:api-docs": "pnpm --filter '@nkzw/fate-docs-toolchain' exec typedoc --options ../../typedoc.json",
"build:docs": "vp run build:api-docs && vp run copy-package-docs && vitepress build",
"copy-files": "find packages/fate packages/react-fate packages/vue-fate -type d -maxdepth 0 -exec cp README.md LICENSE {} \\; && cp LICENSE packages/void-fate/LICENSE && cp LICENSE packages/cf-fate/LICENSE",
"copy-package-docs": "node --conditions=development --no-warnings --import @oxc-node/core/register scripts/copy-package-docs.ts",
"dev": "npm-run-all --parallel dev:client dev:server",
"dev:client": "cd example/client && vp dev",
"dev:client:cloudflare": "cd example/client && vp dev --config vite.cloudflare.config.ts",
"dev:client:graphql": "cd example/client && VITE_FATE_TRANSPORT=graphql vp dev --config vite.graphql.config.ts",
"dev:cloudflare": "vp run --filter cf-fate build && cd example/cloudflare && pnpm run db:migrate && cd ../.. && npm-run-all --parallel dev:client:cloudflare dev:cloudflare-server",
"dev:cloudflare-server": "cd example/cloudflare && pnpm run dev:worker",
"dev:docs": "vp run build:api-docs && vitepress dev",
"dev:drizzle": "npm-run-all --parallel dev:client dev:drizzle-server",
"dev:drizzle-server": "cd example/server-drizzle && vp run dev",
"dev:graphql": "vp run --filter '@nkzw/fate' build && vp run --filter react-fate build && npm-run-all --parallel dev:client:graphql dev:graphql-server",
"dev:graphql-server": "cd example/server-graphql && vp run dev",
"dev:server": "cd example/server-prisma && vp run dev",
"dev:setup": "vp run --filter '@nkzw/fate' build && vp run --filter react-fate build && (cd example/server-prisma && vp run dev:setup) && (cd example/server-graphql && vp run dev:setup) && vp run fate:generate",
"dev:void": "cd example/void && vp dev",
"dev:vue": "vp run --filter '@nkzw/fate' build && vp run --filter vue-fate build && npm-run-all --parallel dev:vue-client dev:server",
"dev:vue-client": "cd example/client-vue && vp dev",
"fate:generate": "(cd example/client && OXC_TSCONFIG_PATH=../../tsconfig.json node --conditions=development --no-warnings --import @oxc-node/core/register ../../packages/fate/src/cli.ts generate)",
"generate-readme": "node --conditions=development --no-warnings --import @oxc-node/core/register scripts/generate-readme.ts",
"prepare": "vp config",
"prisma": "vp run --filter '@nkzw/fate-server' prisma",
"ship": "vp run build:all && vp run build:api-docs && vp run copy-package-docs && vp check && vp test && vp pm publish -r --access public"
},
"devDependencies": {
"@fontsource/fira-code": "^5.3.0",
"@nkzw/eslint-plugin": "^2.0.0",
"@nkzw/fate-server": "workspace:*",
"@nkzw/find-workspaces": "^1.1.0",
"@nkzw/oxlint-config": "^2.0.1",
"@oxc-node/core": "^0.1.0",
"@paper-design/shaders": "^0.0.80",
"@swc/core": "^1.16.1",
"@types/node": "^26.4.0",
"@vitest/coverage-v8": "catalog:",
"dotenv": "^17.4.2",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-workspaces": "^0.12.1",
"happy-dom": "^20.11.8",
"npm-run-all2": "^9.0.3",
"oxc-minify": "^0.147.0",
"prisma": "^7.10.0",
"tailwindcss": "^4.3.3",
"typescript": "^7.0.2",
"vite": "catalog:",
"vite-plus": "catalog:",
"vitepress": "2.0.0-alpha.15",
"vitest": "catalog:"
},
"engines": {
"node": ">=24.0.0",
"pnpm": ">=11.0.0"
},
"packageManager": "pnpm@11.0.6"
}