Skip to content

Commit

Permalink
fix: Adding prettier as a pre-commit hook for unstaged files
Browse files Browse the repository at this point in the history
  • Loading branch information
rcdexta committed Feb 17, 2018
1 parent 9da0b37 commit c70c48a
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 127 deletions.
19 changes: 6 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
"main": "dist/index.js",
"jsnext:main": "components/index.js",
"module": "components/index.js",
"files": [
"src",
"dist",
"README"
],
"files": ["src", "dist", "README"],
"scripts": {
"lint": "eslint src/**",
"lintfix": "eslint --fix src/**",
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"storybook": "start-storybook -p 9002",
Expand All @@ -22,17 +16,14 @@
"build": "babel src --out-dir dist --copy-files",
"docs": "build-storybook -o docs",
"commit": "git cz",
"deploy-storybook": "storybook-to-ghpages"
"deploy-storybook": "storybook-to-ghpages",
"format": "pretty-quick \"src/**/*.js\""
},
"repository": {
"type": "git",
"url": "https://github.com/rcdexta/react-trello"
},
"keywords": [
"react",
"trello",
"board"
],
"keywords": ["react", "trello", "board"],
"author": "RC, Prakash",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -75,12 +66,14 @@
"eslint-plugin-standard": "^3.0.1",
"eventsource-polyfill": "^0.9.6",
"extract-text-webpack-plugin": "^2.1.0",
"husky": "^0.14.3",
"jest": "^21.0.1",
"jest-cli": "^21.0.1",
"jsdom": "^9.12.0",
"mocha": "^3.4.2",
"node-sass": "^4.5.3",
"prettier": "1.10.2",
"pretty-quick": "^1.4.1",
"react": "^16.2.0",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^16.2.0",
Expand Down
Loading

0 comments on commit c70c48a

Please sign in to comment.