Last active
October 8, 2020 09:52
-
-
Save chetanraj/3822d11a1e7cd177398699ae7850fed5 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"name": "app-name", | |
"version": "0.0.1", | |
"dependencies": { }, | |
"devDependencies": { } | |
"scripts": { | |
"start": "react-scripts start", | |
"build": "react-scripts build", | |
"test": "react-scripts test", | |
"eject": "react-scripts eject", | |
"stylelint": "stylelint src/**/index.css", | |
"stylelint:fix": "stylelint src/**/index.css --fix", | |
"📦": "bundlesize", | |
"prettification": "prettier --write \"**/*.js\"" | |
}, | |
"lint-staged": { | |
"*.{js,jsx}": [ | |
"npm run prettification", | |
"git add" | |
] | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": [ | |
"lint-staged" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment