mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Install husky
This commit is contained in:
parent
1b00414987
commit
78da9ab590
@ -28,10 +28,16 @@
|
|||||||
"eslint-config-theme-next": "1.2.0",
|
"eslint-config-theme-next": "1.2.0",
|
||||||
"gulp": "4.0.2",
|
"gulp": "4.0.2",
|
||||||
"gulp-shell": "0.8.0",
|
"gulp-shell": "0.8.0",
|
||||||
|
"husky": "4.2.5",
|
||||||
"js-yaml": "3.14.0",
|
"js-yaml": "3.14.0",
|
||||||
"stylint": "2.0.0"
|
"stylint": "2.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.9.0"
|
"node": ">=10.9.0"
|
||||||
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "gulp"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,7 +67,7 @@ NexT.boot.registerEvents = function() {
|
|||||||
targets : panel[index],
|
targets : panel[index],
|
||||||
easing : 'linear',
|
easing : 'linear',
|
||||||
opacity : [0, 1],
|
opacity : [0, 1],
|
||||||
translateY: [-20, 0],
|
translateY: [-20, 0]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user