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",
|
2020-02-21 00:59:18 +02:00
|
|
|
"watch": "gulp watch",
|
|
|
|
"build": "gulp build",
|
|
|
|
"postinstall": "cd ReactNativeClient && npm i && cd .. && cd ElectronClient && npm i && cd .. && cd CliClient && npm i && cd .. && gulp build"
|
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": {
|
2020-02-17 22:55:09 +02:00
|
|
|
"@types/react": "^16.9.0",
|
|
|
|
"@types/react-dom": "^16.9.0",
|
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-react": "^7.18.0",
|
2020-02-27 02:20:55 +02:00
|
|
|
"eslint-plugin-react-hooks": "^2.4.0",
|
2020-02-17 22:55:09 +02: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-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
|
|
|
}
|