Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.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
{
"name": "be-formsify",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"build": "prisma generate && tsc && node -e \"const fs=require('node:fs');const path=require('node:path');const src=path.join(process.cwd(),'docs','openapi.yaml');const outDir=path.join(process.cwd(),'dist','docs');const out=path.join(outDir,'openapi.yaml');if(fs.existsSync(src)){fs.mkdirSync(outDir,{recursive:true});fs.copyFileSync(src,out);console.log('[build] copied OpenAPI spec -> '+out);}else{console.warn('[build] openapi.yaml not found at '+src+', skipping copy');}\"",
"start": "node dist/index.js",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:migrate:deploy": "prisma migrate deploy",
"seed:demo": "npm run build && node dist/scripts/seedDemo.js",
"test": "echo \"No tests configured\" && exit 0"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"@prisma/adapter-pg": "^7.4.0",
"@prisma/client": "^7.4.0",
"bcrypt": "^6.0.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.6",
"express": "^5.2.1",
"google-auth-library": "^9.15.1",
"jsonwebtoken": "^9.0.3",
"pg": "^8.18.0",
"socket.io": "^4.8.3",
"swagger-ui-express": "^5.0.1",
"yaml": "^2.6.0"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/cookie-parser": "^1.4.9",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.3.0",
"@types/pg": "^8.16.0",
"@types/swagger-ui-express": "^4.1.7",
"@types/ws": "^8.18.1",
"dotenv": "^17.3.1",
"prisma": "^7.4.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.9.3"
}
}