Skip to content

Instantly share code, notes, and snippets.

@nirmalkar
Created May 29, 2020 09:28
Show Gist options
  • Save nirmalkar/3585ac0c6db5463e09029077a19361b8 to your computer and use it in GitHub Desktop.
Save nirmalkar/3585ac0c6db5463e09029077a19361b8 to your computer and use it in GitHub Desktop.
{
"name": "eslint_test",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
"lint-fix": "eslint ./ --fix"
},
"pre-commit": [
"lint"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint && pretty-quick --staged"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"prettier-quick": "0.0.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment