scripts attribute defines npm scripts, there are 2 types:
scripts
scripts as hook triggered after certain npm command: postinstall, prepublish
postinstall
prepublish
scripts defined only for npm run SCRIPT_NAME
npm run SCRIPT_NAME
You can use any bash script for the script value. Say, a conditional script:
scroll-snap-type
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-typearrow-up-right
Defines how strictly snap points are enforced on the scroll container in case there is one.
none
x mandatory
x proximity
Last updated 5 years ago