1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Add start script for Docker image, pre-commit lint check, package.json scripts cleanup

This commit is contained in:
Maksim Eltyshev 2020-04-24 21:44:54 +05:00
parent 5e17a4880a
commit e0dee1efef
11 changed files with 1236 additions and 11 deletions

View file

@ -8,5 +8,22 @@
"url": "https://github.com/plankanban/planka.git"
},
"license": "MIT",
"author": "Maksim Eltyshev"
"author": "Maksim Eltyshev",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"client/**/*.{js,jsx}": [
"npm run lint --prefix client"
],
"server/**/*.js": [
"npm run lint --prefix server"
]
},
"devDependencies": {
"husky": "^4.2.5",
"lint-staged": "^10.1.7"
}
}