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 01:16:34 +00: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",
|
2020-02-19 00:41:49 +00:00
|
|
|
"tsc": "tsc --project tsconfig.json",
|
|
|
|
"tsc-watch": "tsc --watch --project tsconfig.json",
|
2020-02-07 23:29:53 +00: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 01:16:34 +00:00
|
|
|
"*.{js,jsx,ts,tsx}": [
|
2019-09-07 11:18:07 +01: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": {
|
2020-02-17 20:55:09 +00:00
|
|
|
"@types/react": "^16.9.0",
|
|
|
|
"@types/react-dom": "^16.9.0",
|
2019-12-13 01:16:34 +00: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 17:54:25 +00:00
|
|
|
"eslint-plugin-react": "^7.18.0",
|
2020-02-17 20:55:09 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
|
|
|
"glob": "^7.1.6",
|
|
|
|
"gulp": "^4.0.2",
|
|
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
2019-07-30 09:35:42 +02:00
|
|
|
"husky": "^3.0.2",
|
2019-09-12 22:16:42 +00:00
|
|
|
"lint-staged": "^9.2.1",
|
2019-12-04 21:06:22 +00:00
|
|
|
"typescript": "^3.7.3"
|
2019-09-12 22:16:42 +00:00
|
|
|
}
|
2019-07-29 12:55:39 +02:00
|
|
|
}
|