tabbable

v6.2.0
Returns an array of all tabbable DOM nodes within a containing node.

build

npm run clean && npm run compile

clean

rm -rf ./dist

compile:esm

cross-env BUILD_ENV=esm BABEL_ENV=esm rollup -c

compile:cjs

cross-env BUILD_ENV=cjs BABEL_ENV=es5 rollup -c

compile:umd

cross-env BUILD_ENV=umd BABEL_ENV=es5 rollup -c

compile

npm run compile:esm && npm run compile:cjs && npm run compile:umd

format

prettier --write "{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)"

format:check

prettier --check "{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)"

format:watch

onchange "{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)" -- prettier --write {{changed}}

lint

eslint "*.js" "src/**/*.js" "test/**/*.js"

start

npm run compile:cjs && budo test/debug.js --live --dir -- -t brfs

test

npm run format:check && npm run lint && npm run test:types && npm run test:unit && npm run test:e2e

test:types

tsc index.d.ts

test:unit

jest

test:e2e

ELECTRON_ENABLE_LOGGING=1 cypress run

test:e2e:dev

cypress open

test:coverage

BABEL_ENV=test npm run test:e2e --env coverage=true

prepare

npm run build

prepublishOnly

npm run test && npm run build

release

npm run build && changeset publish
npm i tabbable

Metadata

  • MIT
  • Whatever
  • David Clark
  • released 6/26/2023

Downloads