2020-04-13 00:02:40 +00:00
|
|
|
{
|
2020-09-29 20:08:29 +00:00
|
|
|
"name": "open-bike-sensor-web-api",
|
2020-04-13 00:02:40 +00:00
|
|
|
"version": "1.0.0",
|
2020-09-29 20:08:29 +00:00
|
|
|
"description": "Backend API for the OpenBikeSensor web app",
|
2020-04-13 00:02:40 +00:00
|
|
|
"main": "app.js",
|
|
|
|
"scripts": {
|
|
|
|
"mongo:start": "docker run --name realworld-mongo -p 27017:27017 mongo & sleep 5",
|
2020-11-28 18:17:19 +00:00
|
|
|
"start": "node src/",
|
2021-04-19 19:38:51 +00:00
|
|
|
"start:worker": "node src/worker.js",
|
2020-11-28 18:17:19 +00:00
|
|
|
"dev": "nodemon src/",
|
2021-04-19 19:38:51 +00:00
|
|
|
"dev:worker": "nodemon -w src/ src/worker.js",
|
2020-11-17 17:01:29 +00:00
|
|
|
"mongo:stop": "docker stop realworld-mongo && docker rm realworld-mongo",
|
2020-11-20 09:59:40 +00:00
|
|
|
"autoformat": "eslint --fix .",
|
2020-11-20 10:06:53 +00:00
|
|
|
"lint": "eslint .",
|
2020-12-01 18:58:25 +00:00
|
|
|
"test": "jest",
|
|
|
|
"migrate": "mongoose-data-migrate -c .migrations.js",
|
|
|
|
"migrate:up": "npm run migrate -- up",
|
|
|
|
"migrate:down": "npm run migrate -- down"
|
2020-04-13 00:02:40 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-01-19 12:18:48 +00:00
|
|
|
"url": "git+https://github.com/openbikesensor/obsAPI.git"
|
2020-04-13 00:02:40 +00:00
|
|
|
},
|
2020-09-29 20:08:29 +00:00
|
|
|
"license": "LGPLv3",
|
2020-04-13 00:02:40 +00:00
|
|
|
"dependencies": {
|
2020-04-13 07:08:51 +00:00
|
|
|
"body-parser": "1.19.0",
|
2021-04-19 19:38:51 +00:00
|
|
|
"bull": "^3.22.0",
|
2020-11-21 15:01:49 +00:00
|
|
|
"connect-busboy": "0.0.2",
|
2020-04-13 07:08:51 +00:00
|
|
|
"cors": "2.8.5",
|
2021-02-20 19:01:23 +00:00
|
|
|
"csv-parse": "^4.15.1",
|
|
|
|
"csv-stringify": "^5.6.1",
|
|
|
|
"ejs": "^3.1.6",
|
2020-04-13 07:08:51 +00:00
|
|
|
"errorhandler": "1.5.1",
|
|
|
|
"express": "4.17.1",
|
2020-09-29 20:08:29 +00:00
|
|
|
"express-jwt": "^6.0.0",
|
2020-06-30 19:57:00 +00:00
|
|
|
"express-session": "1.17.1",
|
2020-11-17 17:01:29 +00:00
|
|
|
"jest": "^26.6.3",
|
2021-02-20 19:01:23 +00:00
|
|
|
"joi": "^17.4.0",
|
2020-04-13 07:08:51 +00:00
|
|
|
"jsonwebtoken": "8.5.1",
|
2021-02-26 21:50:20 +00:00
|
|
|
"luxon": "^1.26.0",
|
2020-04-13 07:08:51 +00:00
|
|
|
"method-override": "3.0.0",
|
2020-04-13 00:02:40 +00:00
|
|
|
"methods": "1.1.2",
|
2021-02-20 19:01:23 +00:00
|
|
|
"mongoose": "^5.11.17",
|
2021-02-20 19:06:09 +00:00
|
|
|
"mongoose-data-migrate": "flashstockinc/mongoose-data-migrate",
|
2020-04-13 00:02:40 +00:00
|
|
|
"mongoose-unique-validator": "2.0.3",
|
2020-04-13 07:08:51 +00:00
|
|
|
"morgan": "1.10.0",
|
2021-02-20 19:01:23 +00:00
|
|
|
"nodemailer": "^6.4.18",
|
2021-02-18 18:56:51 +00:00
|
|
|
"oauth2orize": "^1.11.0",
|
2020-04-13 07:08:51 +00:00
|
|
|
"passport": "0.4.1",
|
2021-02-18 18:56:51 +00:00
|
|
|
"passport-custom": "^1.1.1",
|
|
|
|
"passport-http-bearer": "^1.0.1",
|
|
|
|
"passport-jwt": "^4.0.0",
|
|
|
|
"passport-local": "^1.0.0",
|
2021-02-23 18:32:06 +00:00
|
|
|
"pkce": "^1.0.0-beta2",
|
2021-05-07 16:13:38 +00:00
|
|
|
"pug": "^3.0.1",
|
2020-04-13 07:08:51 +00:00
|
|
|
"request": "2.88.2",
|
2020-12-13 19:45:26 +00:00
|
|
|
"sanitize-filename": "^1.6.3",
|
2021-05-01 13:47:22 +00:00
|
|
|
"semantic-ui-css": "^2.4.1",
|
2021-02-20 19:01:23 +00:00
|
|
|
"slug": "^3.5.2",
|
2020-12-02 19:55:04 +00:00
|
|
|
"turf": "^3.0.14",
|
2021-05-07 16:12:17 +00:00
|
|
|
"underscore": "^1.12.1"
|
2020-04-13 00:02:40 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-02-20 19:01:23 +00:00
|
|
|
"eslint": "^7.20.0",
|
2020-11-18 16:15:32 +00:00
|
|
|
"eslint-config-prettier": "^6.15.0",
|
|
|
|
"eslint-config-standard": "^16.0.2",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2021-02-20 19:01:23 +00:00
|
|
|
"eslint-plugin-jest": "^24.1.5",
|
2020-11-18 16:15:32 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-02-20 19:01:23 +00:00
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
|
|
"eslint-plugin-promise": "^4.3.1",
|
|
|
|
"nodemon": "^2.0.7",
|
|
|
|
"prettier": "^2.2.1"
|
2020-11-17 17:01:29 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
2020-11-18 16:15:32 +00:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"local"
|
|
|
|
]
|
2020-11-17 17:07:21 +00:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"useTabs": false,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"tabWidth": 2,
|
|
|
|
"semi": true,
|
|
|
|
"singleQuote": true,
|
|
|
|
"printWidth": 120
|
2020-11-18 16:15:32 +00:00
|
|
|
},
|
|
|
|
"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
|
|
|
|
},
|
2020-11-20 09:59:40 +00:00
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": [
|
|
|
|
"postman-examples/**",
|
|
|
|
"public/**",
|
|
|
|
"node_modules",
|
|
|
|
"local"
|
|
|
|
]
|
2020-04-13 00:02:40 +00:00
|
|
|
}
|
2020-10-20 19:25:00 +00:00
|
|
|
}
|