cra-template-react-template
Version:
Create React APP plus using Axios, Commitlint, Commitizen, etc
43 lines (42 loc) • 1.15 kB
JSON
{
"package": {
"dependencies": {
"axios": "^0.19.0",
"history": "^4.10.1",
"node-sass": "^4.13.0",
"react-icons": "^3.8.0",
"react-router-dom": "^5.1.2",
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-import-helpers": "^1.0.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": ["eslint --fix", "git add"]
},
"eslintConfig": {
"extends": "react-app"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}