File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " module-alias" ,
3
3
"description" : " Create aliases of directories and register custom module paths" ,
4
- "version" : " 2.2.0 " ,
4
+ "version" : " 2.2.1 " ,
5
5
"author" : {
6
6
"name" : " Nick Gavrilov" ,
7
7
"email" : " artnikpro@gmail.com"
10
10
"test" : " npm run lint && npm run testonly" ,
11
11
"testonly" : " NODE_ENV=test mocha test/specs.js" ,
12
12
"testonly-watch" : " NODE_ENV=test mocha -w test/specs.js" ,
13
- "lint" : " standard"
13
+ "lint" : " standard" ,
14
+ "lint-test" : " npm run lint && npm run test"
14
15
},
15
16
"bugs" : {
16
17
"url" : " https://github.com/ilearnio/module-alias/issues"
38
39
"devDependencies" : {
39
40
"chai" : " ^3.5.0" ,
40
41
"hello-world-classic" : " ilearnio/hello-world-classic" ,
42
+ "husky" : " ^3.0.2" ,
41
43
"mocha" : " ^2.4.5" ,
42
44
"semver" : " ^6.1.1" ,
43
45
"standard" : " ^12.0.1"
46
+ },
47
+ "husky" : {
48
+ "hooks" : {
49
+ "pre-push" : " yarn lint-test"
50
+ }
44
51
}
45
52
}
You can’t perform that action at this time.
0 commit comments