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": {
|
2019-12-13 03:16:34 +02:00
|
|
|
"linter": "./node_modules/.bin/eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
|
|
"linter-ci": "./node_modules/.bin/eslint --ext .js --ext .jsx --ext .ts --ext .tsx",
|
2019-12-14 03:28:37 +02:00
|
|
|
"tsc": "tsc",
|
2019-12-14 12:55:58 +02:00
|
|
|
"tsc-watch": "tsc --watch",
|
2020-02-08 01:29:53 +02:00
|
|
|
"copyLib": "rsync --delete -a ReactNativeClient/lib/ ElectronClient/app/lib/"
|
2019-07-29 14:10:07 +02:00
|
|
|
},
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-12-13 03:16:34 +02:00
|
|
|
"*.{js,jsx,ts,tsx}": [
|
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": {
|
2019-12-13 03:16:34 +02:00
|
|
|
"@types/react": "^16.9.16",
|
2019-12-04 23:06:22 +02:00
|
|
|
"@types/react-dom": "^16.9.4",
|
2019-12-13 03:16:34 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.10.0",
|
|
|
|
"@typescript-eslint/parser": "^2.10.0",
|
2019-07-29 12:55:39 +02:00
|
|
|
"eslint": "^6.1.0",
|
2020-01-29 19:54:25 +02:00
|
|
|
"eslint-plugin-enforce-react-hooks": "github:osdnk/eslint-enforce-react-hooks",
|
|
|
|
"eslint-plugin-react": "^7.18.0",
|
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",
|
2019-12-04 23:06:22 +02:00
|
|
|
"typescript": "^3.7.3"
|
2019-09-13 00:16:42 +02:00
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|