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.0",
|
|
"dotenv": "^8.2.0",
|
|
"dotenv-cli": "^4.0.0",
|
|
"filenamify": "^4.2.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"knex": "^0.21.6",
|
|
"lodash": "^4.17.20",
|
|
"moment": "^2.29.1",
|
|
"rimraf": "^3.0.2",
|
|
"sails": "^1.4.0",
|
|
"sails-hook-orm": "^3.0.1",
|
|
"sails-hook-sockets": "^2.0.0",
|
|
"sails-postgresql-redacted": "^1.0.2-8",
|
|
"sharp": "^0.26.2",
|
|
"stream-to-array": "^2.3.0",
|
|
"uuid": "^8.3.1",
|
|
"validator": "^13.1.17"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb-base": "^14.2.0",
|
|
"eslint-config-prettier": "^6.13.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"mocha": "^8.2.0",
|
|
"nodemon": "^2.0.6",
|
|
"prettier": "2.1.2",
|
|
"supertest": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^12.10"
|
|
}
|
|
}
|