mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
34f0a2951a
* Moved button row to separate component file and started Sharing dialog * Adding Sharing dialog * Applied "npx react-codemod rename-unsafe-lifecycles" * More UI * Tools: Improved TypeScript integration * Improved share dialog * Tools Added support for translation validation in CI, and added support for plural translations * Improved UI and sharing workflow * Share workflow * Cleaned up and improved sharing config error handling * Fixed build scripts and doc for TypeScript * Run linter
39 lines
989 B
JSON
39 lines
989 B
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",
|
|
"typescript-compile": "tsc",
|
|
"typescript-watch": "tsc --watch"
|
|
},
|
|
"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-react": "^7.14.3",
|
|
"husky": "^3.0.2",
|
|
"lint-staged": "^9.2.1",
|
|
"typescript": "^3.7.3"
|
|
}
|
|
}
|