fix: package.json spacing and .replit start script

This commit is contained in:
Kris Koishigawa 2020-09-18 17:19:56 +09:00
parent 4672df6236
commit b4c1fe7f2e
2 changed files with 24 additions and 23 deletions

View File

@ -1,2 +1,2 @@
language = "nodejs"
run = "npm start"
run = "npm run dev"

View File

@ -1,24 +1,25 @@
{
"name": "shorturl",
"version": "0.0.3",
"description": "API project for freeCodeCamp",
"main": "server.js",
"scripts": {
"start": "nodemon server.js"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongodb": "^3.5.9",
"mongoose": "^5.9.27"
},
"engines": {
"node": "12.18.3"
},
"license": "MIT",
"devDependencies": {
"nodemon": "^2.0.4"
}
"name": "shorturl",
"version": "0.0.3",
"description": "API project for freeCodeCamp",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongodb": "^3.5.9",
"mongoose": "^5.9.27"
},
"engines": {
"node": "12.18.3"
},
"license": "MIT",
"devDependencies": {
"nodemon": "^2.0.4"
}
}