mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"name": "planka-server",
|
|
"private": true,
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"console": "dotenv sails console",
|
|
"db:init": "node db/init.js",
|
|
"db:migrate": "knex migrate:latest --cwd db",
|
|
"db:seed": "knex seed:run --cwd db",
|
|
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
|
|
"start": "nodemon",
|
|
"start:prod": "node app.js --prod",
|
|
"test": "mocha test/lifecycle.test.js test/integration/**/*.test.js"
|
|
},
|
|
"eslintConfig": {
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"globals": {
|
|
"_": true,
|
|
"sails": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^5.0.1",
|
|
"dotenv": "^16.0.0",
|
|
"dotenv-cli": "^5.1.0",
|
|
"filenamify": "^4.3.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"knex": "^1.0.7",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.2",
|
|
"rimraf": "^3.0.2",
|
|
"sails": "^1.5.2",
|
|
"sails-hook-orm": "^4.0.1",
|
|
"sails-hook-sockets": "^2.0.1",
|
|
"sails-postgresql-redacted": "^1.0.2-9",
|
|
"sharp": "^0.30.3",
|
|
"stream-to-array": "^2.3.0",
|
|
"uuid": "^8.3.2",
|
|
"validator": "^13.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.3.6",
|
|
"eslint": "^8.13.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"mocha": "^9.2.2",
|
|
"nodemon": "^2.0.15",
|
|
"prettier": "2.6.2",
|
|
"supertest": "^6.2.2"
|
|
},
|
|
"engines": {
|
|
"node": "^12.10"
|
|
}
|
|
}
|