stickybits

v3.6.7
Stickybits is a lightweight alternative to `position: sticky` polyfills
stick fixed sticky position navigation nav dom simple javascript and 7 more...

build

npm run test:unit && npm run build:rollup

build:rollup

rollup --config configs/rollup.config.js

lint

eslint . --fix

lint:ci

eslint .

chore:delete-changelog-branch

if git show-ref --quiet refs/heads/chore-changelog; then git branch -D chore-changelog; fi

chore:branch

git checkout -b chore-changelog

chore:changelog

conventional-changelog -p eslint -i CHANGELOG.md -s -r 0

chore:setup-next-work

git checkout master && npm run chore:delete-changelog-branch

chore:pr

git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f

chore:setup-changelog

git checkout master && git pull

chore

npm run chore:delete-changelog-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr && npm run chore:setup-next-work

grammar

write-good *.md --no-passive

markdownlint

markdownlint *.md

prepush

npm run build && npm test

pre-commit-msg

Echo 'Running pre-commit checks...' && exit 0

postpublish

git tag $npm_package_version && git push origin --tags && npm run chore

release

npm run lint && npm run build && npm test && npm run report:coverage

report:coverage

nyc report --reporter=lcov > coverage.lcov && codecov

spelling

mdspell '**/*.md' '!**/node_modules/**/*.md' --ignore-numbers

spelling:ci

mdspell '**/*.md' '!**/node_modules/**/*.md' --ignore-numbers --report

start

npm i

test:es-check

es-check es5 dist/stickybits.min.js dist/stickybits.js dist/jquery.stickybits.js dist/jquery.stickybits.min.js dist/umbrella.stickybits.js dist/umbrella.stickybits.min.js

test:unit

jest --coverage

test:acceptance

node ./scripts/acceptance.js --coverage

test

npm run markdownlint && npm run test:unit && npm run test:acceptance

Metadata

  • MIT
  • Whatever
  • Jeff Wainwright
  • released 8/26/2019

Downloads

Maintainers