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" language = "nodejs"
run = "npm start" run = "npm run dev"

View File

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