2019-08-31 04:07:25 +05:00
|
|
|
{
|
2019-10-03 20:07:41 +05:00
|
|
|
"name": "planka-server",
|
2019-08-31 04:07:25 +05:00
|
|
|
"private": true,
|
|
|
|
"main": "app.js",
|
|
|
|
"scripts": {
|
|
|
|
"console": "dotenv sails console",
|
|
|
|
"custom-tests": "echo \"(No other custom tests yet.)\" && echo",
|
2019-10-01 04:18:33 +05:00
|
|
|
"db:init": "cd db && node init.js",
|
2019-08-31 04:07:25 +05:00
|
|
|
"db:migrate": "knex migrate:latest --cwd db",
|
|
|
|
"db:seed": "knex seed:run --cwd db",
|
2019-10-14 21:50:52 +05:00
|
|
|
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
|
2019-10-01 04:18:33 +05:00
|
|
|
"start": "npm run db:init && NODE_ENV=production node app.js",
|
2019-08-31 04:07:25 +05:00
|
|
|
"start:dev": "nodemon",
|
|
|
|
"test": "npm run lint && npm run custom-tests && echo 'Done.'"
|
|
|
|
},
|
2019-11-05 18:01:42 +05:00
|
|
|
"eslintConfig": {
|
2020-02-03 18:42:31 +05:00
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-throw-literal": "off",
|
|
|
|
"no-undef": "off",
|
|
|
|
"prettier/prettier": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"printWidth": 100,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-11-05 18:01:42 +05:00
|
|
|
"globals": {
|
|
|
|
"_": true,
|
|
|
|
"sails": true
|
|
|
|
}
|
|
|
|
},
|
2019-08-31 04:07:25 +05:00
|
|
|
"dependencies": {
|
2020-02-25 18:42:00 +05:00
|
|
|
"bcrypt": "^3.0.8",
|
2019-10-16 22:48:24 +05:00
|
|
|
"dotenv": "^8.2.0",
|
2019-12-11 04:23:33 +05:00
|
|
|
"dotenv-cli": "^3.1.0",
|
2019-08-31 04:07:25 +05:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2020-02-25 02:10:27 +05:00
|
|
|
"knex": "^0.20.10",
|
2019-08-31 04:07:25 +05:00
|
|
|
"lodash": "^4.17.15",
|
2019-10-01 18:33:52 +05:00
|
|
|
"moment": "^2.24.0",
|
2019-08-31 04:07:25 +05:00
|
|
|
"sails": "^1.2.3",
|
|
|
|
"sails-hook-orm": "^2.1.1",
|
|
|
|
"sails-hook-sockets": "^2.0.0",
|
2019-10-01 18:33:52 +05:00
|
|
|
"sails-postgresql": "^1.0.2",
|
2020-02-25 02:10:27 +05:00
|
|
|
"sharp": "^0.24.1",
|
|
|
|
"uuid": "^7.0.0"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-02-03 18:42:31 +05:00
|
|
|
"eslint": "^6.8.0",
|
2019-11-05 18:01:42 +05:00
|
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
2020-02-03 18:42:31 +05:00
|
|
|
"eslint-config-prettier": "^6.10.0",
|
|
|
|
"eslint-plugin-import": "^2.20.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2019-12-30 04:24:06 +05:00
|
|
|
"nodemon": "^2.0.2",
|
2020-02-03 18:42:31 +05:00
|
|
|
"prettier": "1.19.1"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-10-14 21:50:52 +05:00
|
|
|
"node": "^12.10"
|
2019-08-31 04:07:25 +05:00
|
|
|
}
|
|
|
|
}
|