File tree Expand file tree Collapse file tree 2 files changed +213
-8
lines changed Expand file tree Collapse file tree 2 files changed +213
-8
lines changed Original file line number Diff line number Diff line change 33
33
"coveralls" : " nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls" ,
34
34
"lint" : " standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'" ,
35
35
"prepublish" : " npm run release" ,
36
- "precommit" : " npm run lint"
36
+ "precommit" : " lint-staged "
37
37
},
38
38
"standard" : {
39
39
"parser" : " babel-eslint" ,
40
40
"ignore" : [
41
41
" **/node_modules/**"
42
42
]
43
43
},
44
+ "lint-staged" : {
45
+ "*.js" : " standard" ,
46
+ "bin/*" : " standard"
47
+ },
44
48
"dependencies" : {
45
49
"ansi-html" : " 0.0.7" ,
46
50
"babel-core" : " 6.24.0" ,
107
111
"fly-watch" : " 1.1.1" ,
108
112
"husky" : " 0.13.3" ,
109
113
"jest-cli" : " 19.0.1" ,
114
+ "lint-staged" : " ^3.4.0" ,
110
115
"node-fetch" : " 1.6.3" ,
111
116
"node-notifier" : " 5.1.2" ,
112
117
"nyc" : " 10.0.0" ,
You can’t perform that action at this time.
0 commit comments