-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.16 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
{
"name": "mira-backend",
"version": "1.0.0",
"description": "a chat app powered by ts and psql",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "dotenv -e .env.development -- nodemon src/index.ts",
"dev:docker": "prisma migrate deploy && prisma generate && npm run dev",
"prepare": "husky install",
"clean": "rimraf build/",
"clean:docker": "rimraf node_modules/ src/",
"build": "npm run clean && npx tsc",
"start": "dotenv -e .env.production -- node build/index.js",
"start:docker": "prisma migrate deploy && npm run start",
"migrate:dev": "dotenv -e .env.development -- prisma migrate dev --create-only",
"migrate:prod": "dotenv -e .env.production -- prisma migrate deploy",
"studio:dev": "dotenv -e .env.development -- prisma studio",
"studio:prod": "dotenv -e .env.production -- prisma studio",
"format": "npx prettier --write ."
},
"author": "dalmamad",
"license": "ISC",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/marked": "^4.0.8",
"@types/node": "^18.15.0",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint": "^8.36.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"nodemon": "^2.0.21",
"prettier": "^2.8.4",
"rimraf": "^4.4.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"npx eslint --fix"
]
},
"dependencies": {
"@prisma/client": "^4.11.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"decoress": "^0.1.3",
"dotenv-cli": "^7.2.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.0",
"marked": "^4.3.0",
"prisma": "^4.11.0",
"sockerate": "^0.1.2",
"socket.io": "^4.6.1",
"swagger-ui-express": "^4.6.2"
}
}