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-11-05 18:01:42 +05:00
|
|
|
"format": "prettier-eslint --write \"**/*.js\"",
|
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": {
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
"globals": {
|
|
|
|
"_": true,
|
|
|
|
"sails": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-throw-literal": "off",
|
|
|
|
"no-undef": "off"
|
|
|
|
}
|
|
|
|
},
|
2019-08-31 04:07:25 +05:00
|
|
|
"dependencies": {
|
|
|
|
"bcrypt": "^3.0.6",
|
2019-10-16 22:48:24 +05:00
|
|
|
"dotenv": "^8.2.0",
|
2019-10-13 07:50:45 +05:00
|
|
|
"dotenv-cli": "^3.0.0",
|
2019-08-31 04:07:25 +05:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2019-11-18 11:59:37 +05:00
|
|
|
"knex": "^0.20.2",
|
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",
|
2019-11-18 11:59:37 +05:00
|
|
|
"sharp": "^0.23.3",
|
2019-11-05 18:01:42 +05:00
|
|
|
"uuid": "^3.3.3"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-11-05 18:01:42 +05:00
|
|
|
"eslint": "^5.16.0",
|
|
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
"nodemon": "^1.19.4",
|
2019-11-18 11:59:37 +05:00
|
|
|
"prettier-eslint": "^9.0.1",
|
2019-11-05 18:01:42 +05:00
|
|
|
"prettier-eslint-cli": "^5.0.0"
|
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
|
|
|
}
|
|
|
|
}
|