Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit d37dedd

Browse files
committed
added precommit hooks for formatting
1 parent fa08b9d commit d37dedd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "react-native-responsive-dimensions",
33
"version": "2.0.1",
4-
"description":
5-
"Resposive fontSize, height and width for your react-native components.",
4+
"description": "Resposive fontSize, height and width for your react-native components.",
65
"main": "src/index.js",
76
"scripts": {
87
"start": "node src/index.js",
98
"test": "exit 0"
109
},
10+
"husky": {
11+
"hooks": {
12+
"pre-commit": "pretty-quick --staged"
13+
}
14+
},
1115
"keywords": [
1216
"react-native",
1317
"responsive",
@@ -22,5 +26,10 @@
2226
"license": "MIT",
2327
"peerDependencies": {
2428
"react-native": ">=0.44.1"
29+
},
30+
"devDependencies": {
31+
"husky": "^3.0.8",
32+
"prettier": "^1.18.2",
33+
"pretty-quick": "^1.11.1"
2534
}
2635
}

0 commit comments

Comments
 (0)