{"name":"focus-trap","version":"7.5.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":"npm run compile:demo","format":"prettier --write \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"","format:check":"prettier --check \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"","format:watch":"onchange \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\" -- prettier --write {{changed}}","lint":"eslint \"*.js\" \"docs/js/**/*.js\" \"cypress/**/*.js\"","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:demo":"cross-env BUILD_ENV=demo BABEL_ENV=es5 rollup -c","compile":"npm run compile:esm && npm run compile:cjs && npm run compile:umd","build":"npm run clean && npm run compile","start":"npm run compile:demo -- --watch --environment SERVE,RELOAD","start:cypress":"npm run compile:demo -- --environment SERVE,IS_CYPRESS_ENV:\"$CYPRESS_BROWSER\"","test:types":"tsc index.d.ts","test:unit":"echo \"No unit tests to run!\"","test:e2e":"ELECTRON_ENABLE_LOGGING=1 start-server-and-test start:cypress 9966 'cypress run --browser $CYPRESS_BROWSER --headless'","test:e2e:chrome":"CYPRESS_BROWSER=chrome npm run test:e2e","test:e2e:dev":"ELECTRON_ENABLE_LOGGING=1 start-server-and-test start:cypress 9966 'cypress open'","test":"npm run format:check && npm run lint && npm run test:unit && npm run test:types && npm run test:e2e:chrome","prepare":"npm run build","prepublishOnly":"npm run test && npm run build","release":"npm run 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":"^6.2.0"},"devDependencies":{"@babel/cli":"^7.22.5","@babel/core":"^7.22.5","@babel/eslint-parser":"^7.22.5","@babel/preset-env":"^7.22.5","@changesets/cli":"^2.26.2","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^25.0.2","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@testing-library/cypress":"^9.0.0","@types/jquery":"^3.5.16","all-contributors-cli":"^6.26.0","babel-loader":"^9.1.2","cross-env":"^7.0.3","cypress":"^12.16.0","cypress-plugin-tab":"^1.0.5","eslint":"^8.43.0","eslint-config-prettier":"^8.8.0","eslint-plugin-cypress":"^2.13.3","eslint-plugin-jest":"^27.2.2","onchange":"^7.1.0","prettier":"^2.8.8","rollup":"^2.79.1","rollup-plugin-inject-process-env":"^1.3.1","rollup-plugin-livereload":"^2.0.5","rollup-plugin-serve":"^2.0.2","rollup-plugin-sourcemaps":"^0.6.3","start-server-and-test":"^2.0.0","typescript":"^5.1.5"},"gitHead":"142d337f587d3332e05913d3cf78c0cf326084f7","_id":"focus-trap@7.5.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"e5ee678d10a18651f2591ffb66c949fb098d57cf","size":163475,"noattachment":false,"key":"/focus-trap/-/focus-trap-7.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/focus-trap/download/focus-trap-7.5.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_7.5.2_1688492328657_0.6269052483221715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-04T17:38:48.905Z","publish_time":1688492328905,"_source_registry_name":"default","_cnpm_publish_time":1688492328905,"dist-tags":{"beta":"6.8.0-beta.2","latest":"8.0.1","tabbable-i905":"7.2.1-tabbable-i905.2"}}