-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.21 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.21 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
{
"name": "personal-project-api",
"version": "1.0.0",
"description": "Personal Nasa api project",
"main": "server.js",
"scripts": {
"install_dev": "npm install nodemon --save-dev",
"watch": "nodemon src/server.js",
"test": "jest --detectOpenHandles --forceExit",
"test-with-handler": "jest --detectOpenHandles --forceExit",
"test-watch": "jest --watch",
"_comment": "Windows vs Mac/Linux have different Start command (PORT=7200 vs set PORT=5000)",
"_solution": "We can use npm install --save-dev cross-env",
"start": "node src/server.js",
"development": "set NODE_ENV=developmet && node src/server.js",
"qa": "set NODE_ENV=qa && node src/server.js",
"staging": "set NODE_ENV=staging && node src/server.js",
"production": "set NODE_ENV=production && node src/server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"jest": "^29.6.4",
"nodemon": "^3.0.1",
"supertest": "^6.3.3"
},
"jest": {
"testEnvironment": "node"
},
"dependencies": {
"axios": "^1.5.0",
"cors": "^2.8.5",
"csv-parse": "^5.5.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"mongoose": "^7.5.1",
"morgan": "^1.10.0"
}
}