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",
|
2025-05-10 02:09:06 +02:00
|
|
|
"db:create-admin-user": "node db/create-admin-user.js",
|
2020-04-25 04:57:31 +05:00
|
|
|
"db:init": "node db/init.js",
|
2019-08-31 04:07:25 +05:00
|
|
|
"db:migrate": "knex migrate:latest --cwd db",
|
|
|
|
"db:seed": "knex seed:run --cwd db",
|
2025-05-10 02:09:06 +02:00
|
|
|
"db:upgrade": "node db/upgrade.js",
|
|
|
|
"postinstall": "patch-package && npm run setup-python",
|
2019-10-14 21:50:52 +05:00
|
|
|
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
|
2025-05-10 02:09:06 +02:00
|
|
|
"setup-python": "python3 -m venv .venv && .venv/bin/pip3 install -r requirements.txt",
|
2020-04-24 21:44:54 +05:00
|
|
|
"start": "nodemon",
|
2025-05-10 02:09:06 +02:00
|
|
|
"start:prod": "cross-env NODE_ENV=production node app.js --prod",
|
2022-08-22 18:42:56 -04:00
|
|
|
"test": "mocha test/lifecycle.test.js test/integration/**/*.test.js test/utils/**/*.test.js"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
2019-11-05 18:01:42 +05:00
|
|
|
"eslintConfig": {
|
2025-05-10 02:09:06 +02:00
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
2020-02-03 18:42:31 +05:00
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
2025-05-10 02:09:06 +02:00
|
|
|
"plugin:prettier/recommended"
|
2020-02-03 18:42:31 +05:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-throw-literal": "off",
|
2025-05-10 02:09:06 +02:00
|
|
|
"no-undef": "off",
|
|
|
|
"prettier/prettier": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"printWidth": 100,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all"
|
|
|
|
}
|
|
|
|
]
|
2020-02-03 18:42:31 +05:00
|
|
|
},
|
2019-11-05 18:01:42 +05:00
|
|
|
"globals": {
|
|
|
|
"_": true,
|
|
|
|
"sails": true
|
|
|
|
}
|
|
|
|
},
|
2019-08-31 04:07:25 +05:00
|
|
|
"dependencies": {
|
2025-05-10 02:09:06 +02:00
|
|
|
"@aws-sdk/client-s3": "3.726.1",
|
2023-11-17 14:34:10 +01:00
|
|
|
"bcrypt": "^5.1.1",
|
2025-05-10 02:09:06 +02:00
|
|
|
"cross-env": "^7.0.3",
|
2025-06-30 12:43:06 +02:00
|
|
|
"dotenv": "^16.6.1",
|
2024-11-22 17:13:17 +01:00
|
|
|
"dotenv-cli": "^7.4.4",
|
2025-05-10 02:09:06 +02:00
|
|
|
"escape-html": "^1.0.3",
|
|
|
|
"escape-markdown": "^1.0.4",
|
|
|
|
"fs-extra": "^11.3.0",
|
|
|
|
"ico-to-png": "^0.2.2",
|
|
|
|
"istextorbinary": "^9.5.0",
|
2023-11-17 14:34:10 +01:00
|
|
|
"jsonwebtoken": "^9.0.2",
|
2024-04-23 15:45:47 +02:00
|
|
|
"knex": "^3.1.0",
|
2021-06-24 01:05:22 +05:00
|
|
|
"lodash": "^4.17.21",
|
2025-05-10 02:09:06 +02:00
|
|
|
"mime": "^3.0.0",
|
2024-04-23 15:45:47 +02:00
|
|
|
"moment": "^2.30.1",
|
2025-05-10 02:09:06 +02:00
|
|
|
"nodemailer": "^6.10.1",
|
2024-11-22 17:13:17 +01:00
|
|
|
"openid-client": "^5.7.1",
|
2025-05-10 02:09:06 +02:00
|
|
|
"patch-package": "^8.0.0",
|
|
|
|
"read": "^4.1.0",
|
2024-09-16 12:04:56 +02:00
|
|
|
"rimraf": "^5.0.10",
|
2025-02-13 16:20:13 +01:00
|
|
|
"sails": "^1.5.14",
|
2024-04-23 15:45:47 +02:00
|
|
|
"sails-hook-orm": "^4.0.3",
|
2025-04-21 01:14:48 +02:00
|
|
|
"sails-hook-sockets": "^3.0.2",
|
2024-04-23 15:45:47 +02:00
|
|
|
"sails-postgresql": "^5.0.1",
|
2025-05-10 02:09:06 +02:00
|
|
|
"serve-static": "^1.16.2",
|
2024-09-16 12:04:56 +02:00
|
|
|
"sharp": "^0.33.5",
|
2023-11-17 14:34:10 +01:00
|
|
|
"uuid": "^9.0.1",
|
2025-06-03 13:02:16 +02:00
|
|
|
"validator": "^13.15.15",
|
2024-11-22 17:13:17 +01:00
|
|
|
"winston": "^3.17.0",
|
2022-09-03 22:47:06 +05:00
|
|
|
"zxcvbn": "^4.4.2"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-09-16 12:04:56 +02:00
|
|
|
"chai": "^4.5.0",
|
2024-11-22 17:13:17 +01:00
|
|
|
"eslint": "^8.57.1",
|
2022-02-09 00:56:01 +05:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2025-05-10 02:09:06 +02:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2025-06-30 12:43:06 +02:00
|
|
|
"eslint-plugin-import": "^2.32.0",
|
|
|
|
"eslint-plugin-prettier": "^5.5.1",
|
2024-11-22 17:13:17 +01:00
|
|
|
"mocha": "^10.8.2",
|
2025-05-10 02:09:06 +02:00
|
|
|
"nodemon": "^3.1.10",
|
|
|
|
"prettier": "3.3.3",
|
2025-06-03 13:02:16 +02:00
|
|
|
"supertest": "^7.1.1"
|
2019-08-31 04:07:25 +05:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-11-17 14:34:10 +01:00
|
|
|
"node": ">=18"
|
2019-08-31 04:07:25 +05:00
|
|
|
}
|
|
|
|
}
|