forked from ngrok-samples/javascript-crud-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 911 Bytes
/
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
{
"name": "mongodb-backend",
"version": "0.0.0",
"description": "MongoDB Backend",
"main": "src/index.ts",
"scripts": {
"start": "yarn pm2",
"dev": "conc \"yarn backend-dev\" \"yarn frontend-dev\"",
"build": "tsc",
"pm2": "yarn build && pm2 start build/index.js --name backend",
"node": "ts-node src/index.ts",
"backend-dev": "nodemon src/index.ts -w . -w .env -e ts,js,mjs,json,env",
"frontend-dev": "cd vinyl-record-frontend && yarn dev"
},
"author": "Ariady Putra",
"license": "MIT",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"mongoose": "^8.2.0",
"pm2": "^5.3.1"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mongoose": "^5.11.97",
"concurrently": "^8.2.2",
"nodemon": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}