{"name":"focus-trap","version":"6.2.2","description":"Trap focus within a DOM node.","main":"dist/focus-trap.js","module":"dist/focus-trap.esm.js","types":"index.d.ts","sideEffects":false,"scripts":{"demo-bundle":"browserify demo/js/index.js -o demo/demo-bundle.js","format":"prettier --write \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"","format:check":"prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"","lint":"eslint \"*.js\" \"demo/**/*.js\" \"cypress/**/*.js\"","clean":"rm -rf ./dist","compile:esm":"BUILD_ENV=esm BABEL_ENV=esm rollup -c","compile:cjs":"BUILD_ENV=cjs BABEL_ENV=es5 rollup -c","compile:umd":"BUILD_ENV=umd BABEL_ENV=es5 rollup -c","compile":"yarn compile:esm && yarn compile:cjs && yarn compile:umd","build":"yarn clean && yarn compile","start":"yarn compile:cjs && budo demo/js/index.js:demo-bundle.js --dir demo --live -- -t babelify","test:types":"tsc index.d.ts","test:unit":"echo \"No unit tests to run!\"","test:cypress":"start-server-and-test start 9966 'cypress open'","test:cypress-ci":"start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'","test":"yarn format:check && yarn lint && yarn test:unit && yarn test:types && CYPRESS_BROWSER=chrome yarn test:cypress-ci","prepare":"yarn build","release":"yarn build && changeset publish"},"repository":{"type":"git","url":"git+https://github.com/focus-trap/focus-trap.git"},"keywords":["focus","accessibility","trap","capture","keyboard","modal"],"author":{"name":"David Clark","url":"http://davidtheclark.com/"},"license":"MIT","bugs":{"url":"https://github.com/focus-trap/focus-trap/issues"},"homepage":"https://github.com/focus-trap/focus-trap#readme","dependencies":{"tabbable":"^5.1.4"},"devDependencies":{"@babel/cli":"^7.12.8","@babel/core":"^7.12.9","@babel/preset-env":"^7.12.7","@changesets/cli":"^2.12.0","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.0","@testing-library/cypress":"^7.0.2","@types/jquery":"^3.5.4","all-contributors-cli":"^6.19.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","babelify":"^10.0.0","browserify":"^17.0.0","budo":"^11.6.4","cypress":"^6.0.1","cypress-plugin-tab":"^1.0.5","eslint":"^7.14.0","eslint-config-prettier":"^6.15.0","eslint-plugin-cypress":"^2.11.2","prettier":"^2.2.1","rollup":"^2.34.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-terser":"^7.0.1","start-server-and-test":"^1.11.6","typescript":"^4.1.2"},"gitHead":"df8c30d6d2cce23d5eddd5db6f5785a60d6d5f44","_id":"focus-trap@6.2.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"shasum":"0e6f391415b0697c99da932702dedd13084fa131","size":41155,"noattachment":false,"key":"/focus-trap/-/focus-trap-6.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/focus-trap/download/focus-trap-6.2.2.tgz"},"_npmUser":{"name":"stefcameron","email":"stefan@stefcameron.com"},"directories":{},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},{"name":"realredallen","email":"zallen@redhat.com"},{"name":"stefcameron","email":"stefan@stefcameron.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-trap_6.2.2_1606929757562_0.16987845311609107"},"_hasShrinkwrap":false,"publish_time":1606929757807,"_cnpm_publish_time":1606929757807,"dist-tags":{"beta":"6.8.0-beta.2","latest":"8.0.1","tabbable-i905":"7.2.1-tabbable-i905.2"}}