-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.82 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
{
"name": "knblog-backend",
"version": "1.0.0",
"description": "",
"scripts": {
"build": "npx tsc",
"preview": "node dist/index.js",
"migrate": "migrate-mongo",
"migrate:init": "migrate-mongo init",
"migrate:create": "migrate-mongo create",
"migrate:apply": "migrate-mongo up",
"migrate:rollback": "migrate-mongo down",
"start": "npm run start:mongod && NODE_ENV=development nodemon index.ts",
"start:prod": "npm run start:mongod && NODE_ENV=production nodemon index.ts",
"start:mongod": "sudo systemctl start mongod",
"eslint:fix": "eslint --fix \"./src/**/*.{ts,tsx,json}\""
},
"author": "khoanguyen",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.21.0",
"google-auth-library": "^8.7.0",
"googleapis": "^134.0.0",
"joi": "^17.9.1",
"jsonwebtoken": "^9.0.0",
"migrate-mongo": "^11.0.0",
"mongodb": "^5.1.0",
"mongoose": "^7.0.3",
"multer": "^1.4.5-lts.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/multer": "^1.4.11",
"@types/node": "^18.15.10",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.0.2"
}
}