{"name":"focus-trap","version":"7.2.0","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":"yarn 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":"yarn compile:esm && yarn compile:cjs && yarn compile:umd","build":"yarn clean && yarn compile","start":"yarn compile:demo --watch --environment SERVE,RELOAD,IS_CYPRESS_ENV:''","start:cypress":"yarn 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 yarn test:e2e","test:e2e:dev":"ELECTRON_ENABLE_LOGGING=1 start-server-and-test start:cypress 9966 'cypress open --browser --e2e'","test":"yarn format:check && yarn lint && yarn test:unit && yarn test:types && yarn test:e2e:chrome","prepare":"yarn build","prepublishOnly":"yarn test && 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":"^6.0.1"},"devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.5","@babel/eslint-parser":"^7.19.1","@babel/preset-env":"^7.20.2","@changesets/cli":"^2.25.2","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^23.0.3","@rollup/plugin-node-resolve":"^15.0.1","@testing-library/cypress":"^8.0.7","@types/jquery":"^3.5.14","all-contributors-cli":"^6.24.0","babel-loader":"^9.1.0","cross-env":"^7.0.3","cypress":"^11.2.0","cypress-plugin-tab":"^1.0.5","eslint":"^8.28.0","eslint-config-prettier":"^8.5.0","eslint-plugin-cypress":"^2.12.1","eslint-plugin-jest":"^27.1.6","onchange":"^7.1.0","prettier":"^2.8.0","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","rollup-plugin-terser":"^7.0.1","start-server-and-test":"^1.14.0","typescript":"^4.9.3"},"gitHead":"b6bed254099b27e4b93448f9c29438823ac091f1","_id":"focus-trap@7.2.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"25af61b5635d3c18cd2fd176087db7b60be72c6b","size":124555,"noattachment":false,"key":"/focus-trap/-/focus-trap-7.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/focus-trap/download/focus-trap-7.2.0.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.2.0_1669989825722_0.2951590505994586"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-02T14:07:22.424Z","publish_time":1669989825927,"_cnpm_publish_time":1669989825927,"dist-tags":{"beta":"6.8.0-beta.2","latest":"8.0.1","tabbable-i905":"7.2.1-tabbable-i905.2"}}