Install husky

This commit is contained in:
Mimi 2020-07-12 22:10:48 +08:00
parent 1b00414987
commit 78da9ab590
2 changed files with 7 additions and 1 deletions

View File

@ -28,10 +28,16 @@
"eslint-config-theme-next": "1.2.0",
"gulp": "4.0.2",
"gulp-shell": "0.8.0",
"husky": "4.2.5",
"js-yaml": "3.14.0",
"stylint": "2.0.0"
},
"engines": {
"node": ">=10.9.0"
},
"husky": {
"hooks": {
"pre-commit": "gulp"
}
}
}

View File

@ -67,7 +67,7 @@ NexT.boot.registerEvents = function() {
targets : panel[index],
easing : 'linear',
opacity : [0, 1],
translateY: [-20, 0],
translateY: [-20, 0]
});
}
});