1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/package.json
2020-02-07 23:29:53 +00:00

41 lines
1.1 KiB
JSON

{
"name": "joplin",
"version": "1.0.0",
"description": "Joplin root package for linting",
"scripts": {
"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",
"tsc": "tsc",
"tsc-watch": "tsc --watch",
"copyLib": "rsync --delete -a ReactNativeClient/lib/ ElectronClient/app/lib/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run linter",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/laurent22/joplin.git"
},
"license": "MIT",
"devDependencies": {
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"eslint": "^6.1.0",
"eslint-plugin-enforce-react-hooks": "github:osdnk/eslint-enforce-react-hooks",
"eslint-plugin-react": "^7.18.0",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"typescript": "^3.7.3"
}
}