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",
|
2019-09-13 00:16:42 +02:00
|
|
|
"lint-staged": "^9.2.1",
|
|
|
|
"typescript": "^3.6.3"
|
2019-07-29 13:48:43 +02:00
|
|
|
},
|
2019-09-13 00:16:42 +02:00
|
|
|
"dependencies": {
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.2.0",
|
|
|
|
"@typescript-eslint/parser": "^2.2.0"
|
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|