-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 6.25 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 6.25 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "site-boilerplate",
"description": "Base template for narasim.dev website projects",
"version": "1.9.0",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development tsx watch server/index.ts",
"dev:n8n": "cross-env N8N_ENABLED=true NODE_ENV=development tsx server/index.ts",
"build__": "npm run clean && npm run build:front && npm run build:server",
"build": "npm run clean && npm run build:front && npm run build:custom-nodes && npm run build:server",
"build:front": "next build",
"build:server": "cross-env N8N_ENABLED=true tsc --project tsconfig.server.json && npm run copy-statics",
"build:custom-nodes": "npm run build --prefix server/n8n/custom-nodes",
"watch:custom-nodes": "npm run watch --prefix server/n8n/custom-nodes",
"build:analyze": "cross-env ANALYZE=true npm run build",
"copy-statics": "npm run copy-statics:server && npm run copy-statics:src",
"copy-statics:server": "copyfiles -u 1 \"server/**/*.graphql\" \"server/**/*.md\" \"server/n8n/**/*.js\" \"server/n8n/**/*.json\" dist/server/server/",
"copy-statics:src": "copyfiles -u 1 \"src/**/*.graphql\" dist/server/src/",
"clean": "rimraf ./dist && rimraf ./.next && rimraf ./.n8n",
"start": "cross-env N8N_ENABLED=true NODE_ENV=production TS_NODE_BASEURL=./dist/server node -r tsconfig-paths/register dist/server/server/index.js",
"types": "tsc --noEmit",
"types:watch": "tsc --noEmit --watch",
"types:server": "npx tsc --noEmit -P tsconfig.server.json",
"types:server:watch": "npx tsc --noEmit -P tsconfig.server.json --watch",
"lint": "eslint .",
"format": "prettier --write \"{src,server,prisma,scripts,.storybook}/**/*.{ts,tsx,js,scss}\"",
"generate": "npm run generate:prisma && npm run generate:types",
"generate:prisma": "prisma generate",
"generate:types": "cross-env NODE_PATH=. tsx src/gql/cli/generateTypes/run",
"prisma:format": "prisma format",
"prisma:db:push": "prisma db push",
"prisma:migrate:status": "prisma migrate status",
"prisma:migrate:create": "prisma migrate dev",
"prisma:deploy": "prisma migrate deploy",
"prisma:seed": "prisma db seed",
"prisma:studio": "prisma studio",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:setup": "dotenv -e .env.test -- npx prisma db push --force-reset --accept-data-loss",
"test:server": "dotenv -e .env.test -- cross-env API_ONLY=true tsx watch server/index.ts",
"test:api": "dotenv -e .env.test -- vitest run -c vitest.api.config.ts",
"test:api:watch": "dotenv -e .env.test -- vitest -c vitest.api.config.ts",
"prepare": "husky"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@apollo/client": "^4.0.10",
"@apollo/server": "^5.2.0",
"@as-integrations/express4": "^1.1.2",
"@hookform/resolvers": "^5.2.2",
"@mdxeditor/editor": "^3.52.1",
"@pothos/core": "^4.3.0",
"@pothos/plugin-prisma": "^4.2.0",
"@pothos/plugin-relay": "^4.3.0",
"@pothos/plugin-simple-objects": "^4.1.3",
"@prisma/client": "^6.1.0",
"@react-three/drei": "^9.122.0",
"@react-three/fiber": "^8.18.0",
"@react-three/rapier": "^1.5.0",
"apollo-upload-client": "^19.0.0",
"bcryptjs": "^3.0.3",
"cheerio": "^1.2.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.21.0",
"glob": "^13.0.0",
"gltf-pipeline": "^4.3.0",
"graphql": "^16.9.0",
"graphql-middleware": "^6.1.35",
"graphql-scalars": "^1.23.0",
"graphql-shield": "^7.6.5",
"graphql-upload-minimal": "^1.6.4",
"graphql-ws": "^5.16.2",
"http-proxy-middleware": "^3.0.5",
"jsonwebtoken": "^9.0.3",
"mdast-util-mdx-jsx": "^3.2.0",
"mime-types": "^3.0.2",
"n8n": "~2.1.1",
"next": "^16.0.10",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-hook-form": "^7.68.0",
"react-markdown": "^10.1.0",
"rehype-prism-plus": "^2.0.2",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.1",
"sharp": "^0.34.5",
"styled-components": "^6.1.19",
"three": "^0.182.0",
"ts-node": "^10.9.2",
"turndown": "^7.2.4",
"undici": "^7.25.0",
"unist-util-visit": "^5.0.0",
"web3": "^4.16.0",
"ws": "^8.18.3",
"yup": "^1.7.1",
"zod-class": "^0.0.18"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@graphql-codegen/cli": "^6.1.0",
"@graphql-codegen/introspection": "^5.0.0",
"@graphql-codegen/near-operation-file-preset": "^4.0.0",
"@graphql-codegen/typed-document-node": "^6.1.4",
"@graphql-codegen/typescript": "^5.0.6",
"@graphql-codegen/typescript-apollo-client-helpers": "^3.0.1",
"@graphql-codegen/typescript-operations": "^5.0.6",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@storybook/addon-docs": "^10.1.7",
"@storybook/addon-links": "^10.1.7",
"@storybook/nextjs-vite": "^10.1.7",
"@storybook/react": "^10.1.7",
"@types/apollo-upload-client": "^19.0.0",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/mime-types": "^3.0.1",
"@types/node": "^22.10.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.36",
"@types/three": "^0.182.0",
"@types/turndown": "^5.0.6",
"@types/ws": "^8.18.1",
"copyfiles": "^2.4.1",
"dotenv": "^17.2.3",
"dotenv-cli": "^11.0.0",
"eslint": "^9.39.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-storybook": "^10.1.7",
"eslint-plugin-unused-imports": "^4.3.0",
"fbx2gltf": "^0.9.7-p1",
"husky": "^9.1.7",
"jsdom": "^27.3.0",
"lint-staged": "^16.2.7",
"msw": "^2.12.4",
"prettier": "^3.8.1",
"prisma": "^6.1.0",
"rimraf": "^6.1.2",
"sql.js": "^1.13.0",
"storybook": "^10.1.7",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.49.0",
"vite": "^7.0.0",
"vitest": "^4.0.15"
},
"msw": {
"workerDirectory": [
"public"
]
},
"prisma": {
"seed": "ts-node -P tsconfig.server.json prisma/seed.ts"
}
}