We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b8a385 + ca8f211 commit dbdce76Copy full SHA for dbdce76
.gitignore
@@ -1,3 +1,2 @@
1
**/node_modules
2
-.vscode
3
.DS_Store
package.json
@@ -4,7 +4,14 @@
4
"description": "looks for all modules that are used in your project",
5
"main": "index.js",
6
"scripts": {
7
- "test": "jest"
+ "test": "jest",
8
+ "precommit": "lint-staged"
9
+ },
10
+ "lint-staged": {
11
+ "*.js": [
12
+ "prettier --write",
13
+ "git add"
14
+ ]
15
},
16
"keywords": [],
17
"author": "Tomasz Kasperek <[email protected]> (http://tomaszkasperek.me/)",
@@ -15,6 +22,9 @@
22
"klaw-sync": "^1.1.2"
23
24
"devDependencies": {
18
- "jest": "^19.0.2"
25
+ "husky": "^0.13.3",
26
+ "jest": "^19.0.2",
27
+ "lint-staged": "^3.4.0",
28
+ "prettier": "^1.2.2"
19
29
}
20
-}
30
+}
0 commit comments