93 lines
2.3 KiB
JSON
93 lines
2.3 KiB
JSON
{
|
|
"name": "open-bike-sensor-web-api",
|
|
"version": "1.0.0",
|
|
"description": "Backend API for the OpenBikeSensor web app",
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"mongo:start": "docker run --name realworld-mongo -p 27017:27017 mongo & sleep 5",
|
|
"start": "node ./app.js",
|
|
"dev": "nodemon ./app.js",
|
|
"mongo:stop": "docker stop realworld-mongo && docker rm realworld-mongo",
|
|
"autoformat": "eslint --fix logic",
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Friends-of-OpenBikeSensor/obsAPI.git"
|
|
},
|
|
"license": "LGPLv3",
|
|
"dependencies": {
|
|
"body-parser": "1.19.0",
|
|
"cors": "2.8.5",
|
|
"csv-parse": "^4.14.1",
|
|
"ejs": "^3.1.5",
|
|
"errorhandler": "1.5.1",
|
|
"express": "4.17.1",
|
|
"express-jwt": "^6.0.0",
|
|
"express-session": "1.17.1",
|
|
"jest": "^26.6.3",
|
|
"joi": "^17.2.1",
|
|
"jsonwebtoken": "8.5.1",
|
|
"latest": "^0.2.0",
|
|
"method-override": "3.0.0",
|
|
"methods": "1.1.2",
|
|
"mongoose": "^5.10.7",
|
|
"mongoose-unique-validator": "2.0.3",
|
|
"morgan": "1.10.0",
|
|
"nodemailer": "^6.4.14",
|
|
"passport": "0.4.1",
|
|
"passport-local": "1.0.0",
|
|
"request": "2.88.2",
|
|
"slug": "^3.3.5",
|
|
"underscore": "^1.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.13.0",
|
|
"eslint-config-prettier": "^6.15.0",
|
|
"eslint-config-standard": "^16.0.2",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"newman": "^5.2.0",
|
|
"nodemon": "^2.0.4",
|
|
"prettier": "^2.1.2"
|
|
},
|
|
"jest": {
|
|
"modulePathIgnorePatterns": [
|
|
"local"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"useTabs": false,
|
|
"trailingComma": "all",
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"printWidth": 120
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"standard",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"jest",
|
|
"prettier"
|
|
],
|
|
"env": {
|
|
"browser": false,
|
|
"node": true,
|
|
"jest/globals": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"standard/array-bracket-even-spacing": 0,
|
|
"standard/computed-property-even-spacing": 0,
|
|
"standard/object-curly-even-spacing": 0
|
|
},
|
|
"root": true
|
|
}
|
|
}
|