|  | 
| 7 | 7 |   "types": "lib/index.d.ts", | 
| 8 | 8 |   "scripts": { | 
| 9 | 9 |     "lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .", | 
|  | 10 | +    "pretty-quick": "pretty-quick", | 
| 10 | 11 |     "lint:fix": "yarn lint --fix", | 
| 11 | 12 |     "test": "jest", | 
| 12 | 13 |     "storybook": "start-storybook -p 6006", | 
| 13 | 14 |     "build-storybook": "build-storybook -c .storybook -o .out", | 
| 14 | 15 |     "build": "rollup -c", | 
| 15 |  | -    "prepublishOnly": "yarn build" | 
|  | 16 | +    "prepublishOnly": "yarn build", | 
|  | 17 | +    "prepare": "husky install" | 
| 16 | 18 |   }, | 
| 17 | 19 |   "files": [ | 
| 18 | 20 |     "src", | 
| 19 | 21 |     "lib" | 
| 20 | 22 |   ], | 
|  | 23 | +  "lint-staged": { | 
|  | 24 | +    "*": [ | 
|  | 25 | +      "npm run pretty-quick", | 
|  | 26 | +      "npm run lint" | 
|  | 27 | +    ] | 
|  | 28 | +  }, | 
| 21 | 29 |   "np": { | 
| 22 | 30 |     "publish": false, | 
| 23 | 31 |     "tests": false | 
|  | 
| 49 | 57 |     "eslint-plugin-react": "^7.31.8", | 
| 50 | 58 |     "eslint-plugin-react-hooks": "^4.6.0", | 
| 51 | 59 |     "framer-motion": "^7.5.1", | 
|  | 60 | +    "husky": "^8.0.0", | 
| 52 | 61 |     "jest": "^29.1.2", | 
| 53 | 62 |     "jest-environment-jsdom": "^29.1.2", | 
| 54 | 63 |     "postcss": "^8.2.1", | 
|  | 64 | +    "prettier": "^2.8.8", | 
| 55 | 65 |     "react": "^16.13.0", | 
| 56 | 66 |     "react-dom": "^16.13.0", | 
| 57 | 67 |     "react-uuid": "^1.0.2", | 
|  | 
| 74 | 84 |     "@emotion/react": "^11.10.4", | 
| 75 | 85 |     "@emotion/styled": "^11.10.4", | 
| 76 | 86 |     "@mui/material": "^5.10.7", | 
|  | 87 | +    "clsx": "^1.2.1", | 
| 77 | 88 |     "csstype": "^3.1.1", | 
| 78 |  | -    "clsx": "^1.2.1" | 
|  | 89 | +    "husky": "^8.0.3", | 
|  | 90 | +    "lint-staged": "^13.2.3", | 
|  | 91 | +    "pretty-quick": "^3.1.3" | 
| 79 | 92 |   } | 
| 80 | 93 | } | 
0 commit comments