File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 20
20
"build:mac" : " ./node_modules/.bin/gulp" ,
21
21
"build:win" : " ./node_modules/.bin/gulp.cmd" ,
22
22
"dev" : " ./node_modules/.bin/webpack-dev-server --config example/webpack.config.js --devtool eval --progress --colors --hot --content-base example" ,
23
- "lint" : " ./node_modules/.bin/eslint src/ DateTime.js test/ && echo 'Linting OK!'" ,
23
+ "lint" : " ./node_modules/.bin/eslint src/ DateTime.js test/ && echo 'Linting OK! 💪'" ,
24
+ "notify-pre-commit-hook" : " echo '### Starting pre-commit hook 🦄'" ,
24
25
"test" : " ./node_modules/.bin/jest" ,
25
26
"test:typings" : " ./node_modules/.bin/tsc -p ./typings" ,
26
27
"test:snapshot" : " ./node_modules/.bin/jest snapshot" ,
27
28
"test:snapshot:update" : " ./node_modules/.bin/jest snapshot --updateSnapshot" ,
28
- "test:all" : " npm run test:typings && npm run test" ,
29
+ "test:all" : " echo 'Running tests...' && npm run test:typings && npm run test && echo 'All tests passed! 🤘' " ,
29
30
"test:watch" : " ./node_modules/.bin/jest --watch"
30
31
},
31
32
"keywords" : [
84
85
"react-onclickoutside" : " ^6.5.0"
85
86
},
86
87
"pre-commit" : [
88
+ " notify-pre-commit-hook" ,
87
89
" lint" ,
88
90
" test:all"
89
91
]
You can’t perform that action at this time.
0 commit comments