Skip to content

Commit 9ffc32d

Browse files
authored
Fix husky hooks on fresh clone (#119)
* Automatically enable Husky Git hooks after install * Format package.json
1 parent 1cb2955 commit 9ffc32d

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "material-ui-color",
3-
"version": "0.4.11",
4-
"description": "The lightest colorpicker for React Material-Ui. No dependencies. It uses Hooks and support Typescript, and more !",
5-
"main": "index.js",
6-
"module": "./esm/index.js",
7-
"typings": "index.d.ts",
8-
"homepage": "https://mikbry.github.io/material-ui-color/",
9-
"repository": "https://github.com/mikbry/material-ui-color.git",
10-
"bugs": "https://github.com/mikbry/material-ui-color/issues",
11-
"author": "Mik <[email protected]>",
12-
"license": "MIT",
13-
"keywords": [
2+
"name": "material-ui-color",
3+
"version": "0.4.11",
4+
"description": "The lightest colorpicker for React Material-Ui. No dependencies. It uses Hooks and support Typescript, and more !",
5+
"main": "index.js",
6+
"module": "./esm/index.js",
7+
"typings": "index.d.ts",
8+
"homepage": "https://mikbry.github.io/material-ui-color/",
9+
"repository": "https://github.com/mikbry/material-ui-color.git",
10+
"bugs": "https://github.com/mikbry/material-ui-color/issues",
11+
"author": "Mik <[email protected]>",
12+
"license": "MIT",
13+
"keywords": [
1414
"react",
1515
"color picker",
1616
"react-component",
@@ -21,7 +21,7 @@
2121
"material-ui",
2222
"material design",
2323
"react-color",
24-
"typescript"
24+
"typescript"
2525
],
2626
"scripts": {
2727
"clean": "rimraf dist && mkdir dist",
@@ -31,7 +31,8 @@
3131
"lint": "eslint src",
3232
"test": "cross-env NODE_ENV=test jest",
3333
"coverage": "cross-env NODE_ENV=test jest --coverage --colors",
34-
"prepublishOnly": "yarn build"
34+
"prepublishOnly": "yarn build",
35+
"prepare": "husky install"
3536
},
3637
"devDependencies": {
3738
"@babel/core": "^7.8.4",

0 commit comments

Comments
 (0)