2019-07-29 12:55:39 +02:00
|
|
|
{
|
|
|
|
"name": "joplin",
|
|
|
|
"version": "1.0.0",
|
2019-07-30 09:35:42 +02:00
|
|
|
"description": "Joplin root package for linting",
|
2019-07-29 14:10:07 +02:00
|
|
|
"scripts": {
|
|
|
|
"linter": "./node_modules/.bin/eslint --fix --ext .js --ext .jsx"
|
|
|
|
},
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-08-14 12:40:06 +02:00
|
|
|
"*.{js,jsx}": [
|
2019-09-07 12:18:07 +02:00
|
|
|
"npm run linter",
|
|
|
|
"git add"
|
2019-08-14 12:40:06 +02:00
|
|
|
]
|
2019-07-30 09:35:42 +02:00
|
|
|
},
|
2019-07-29 12:55:39 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/laurent22/joplin.git"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
|
|
|
"eslint": "^6.1.0",
|
2019-07-29 13:48:43 +02:00
|
|
|
"eslint-plugin-react": "^7.14.3",
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": "^3.0.2",
|
|
|
|
"lint-staged": "^9.2.1"
|
2019-07-29 13:48:43 +02:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|