-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.45 KB
/
package.json
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
{
"name": "clipthread-api",
"description": "",
"version": "0.1.0",
"main": "index.ts",
"author": "charuka deshan",
"license": "MIT",
"dependencies": {
"@types/node": "^20.16.10",
"@types/node-cron": "^3.0.11",
"@types/swagger-ui-express": "^4.1.6",
"axios": "^1.7.7",
"bad-words": "^3.0.4",
"body-parser": "^1.20.3",
"chalk": "^4.0.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"csrf-csrf": "^3.0.8",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-rate-limit": "^7.4.0",
"helmet": "^7.2.0",
"joi": "^17.13.3",
"jsonwebtoken": "^9.0.2",
"moment": "^2.30.1",
"node-cron": "^3.0.3",
"prisma": "^5.20.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.14.2"
},
"scripts": {
"dev": "NODE_ENV=development nodemon --config nodemon.json ./src/index.ts",
"test": "jest",
"prisma:generate": "npx prisma generate",
"prisma:migrate": "npx prisma migrate dev",
"prisma:pull": "npx prisma db pull",
"prisma:push": "npx prisma db push",
"prisma:studio": "npx prisma studio",
"database:generate-all-data": "npm run database:generate-users && npm run database:generate-threads && npm run database:generate-clips",
"database:generate-users": "ts-node ./scripts/generate_test_user_data.ts",
"database:generate-threads": "ts-node ./scripts/generate_test_thread_data.ts",
"database:generate-clips": "ts-node ./scripts/generate_test_clip_data.ts",
"database:depopulate": "ts-node ./scripts/depopulate_database.ts",
"docker:compose": "docker-compose -f docker-compose.yml up",
"lint": "eslint . --ext .ts",
"format": "prettier --write ."
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@prisma/client": "^5.14.0",
"@types/bcrypt": "^5.0.2",
"@types/chalk": "^2.2.0",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/joi": "^17.2.3",
"@types/jsonwebtoken": "^9.0.6",
"@types/swagger-jsdoc": "^6.0.4",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"prisma-json-schema-generator": "^5.1.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}