Created
January 14, 2018 16:20
-
-
Save adambisek/5ae147480dbf8d942125fa8cad5268a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"commit": "git cz", | |
"precommit": "yarn lint:diff", | |
"commitmsg": "commit-message-validator", | |
"lint": "eslint ./src/ & stylelint ./src/**/*.scss", | |
"lint:diff": "lint-staged" | |
}, | |
"lint-staged": { | |
"src/**/*.js": [ "eslint" ], | |
"src/**/*.jsx": [ "eslint" ], | |
"src/**/*.scss": [ "stylelint --syntax scss" ] | |
}, | |
"config": { | |
"commitizen": { | |
"path": "./node_modules/cz-customizable" | |
}, | |
"commit-message-validator": { | |
"pattern": [ "^[a-zA-Z0-9 _-]+(\\([0-9]+\\)){0,1}: .+$" ], | |
"errorMessage": "Commit message must be in format: `feat(123): aaa`; use `git cz` command to create commit with proper message" | |
} | |
}, | |
"devDependencies": { | |
"commit-message-validator": "^0.1.6", | |
"cz-customizable": "^5.2.0", | |
"eslint": "^4.9.0", | |
"eslint-config-frack": "^2.1.1", | |
"eslint-import-resolver-webpack": "^0.8.3", | |
"eslint-plugin-import": "^2.7.0", | |
"eslint-plugin-jsx-a11y": "^6.0.2", | |
"eslint-plugin-react": "^7.4.0", | |
"husky": "^0.14.3", | |
"lint-staged": "^4.2.3", | |
"stylelint": "^8.2.0", | |
"stylelint-config-frack": "^2.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment