UNPKG

tabbable

Version:

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

104 lines (103 loc) 3.87 kB
{ "name": "tabbable", "version": "6.5.0", "description": "Returns an array of all tabbable DOM nodes within a containing node.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "index.d.ts", "sideEffects": false, "files": [ "package.json", "dist", "src", "index.d.ts", "README.md", "CHANGELOG.md", "SECURITY.md", "LICENSE" ], "scripts": { "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|cjs|mjs|ts|cts|mts|yml)\"", "format:check": "prettier --check \"{*,src/**/*,test/**/*,.github/workflows/**/*}.+(js|cjs|mjs|ts|cts|mts|yml)\"", "format:watch": "onchange \"{*,src/**/*,test/**/*,.github/workflows/**/*}.+(js|cjs|mjs|ts|cts|mts|yml)\" -- prettier --write {{changed}}", "lint": "eslint \"{*,src/**/*,test/**/*}.+(js|cjs|mjs|ts|cts|mts)\"", "start": "cross-env BABEL_ENV=dev budo test/debug.js --live --dir -- -t brfs -t babelify", "test": "npm run format:check && npm run lint && npm run test:types && npm run test:unit && npm run test:e2e", "test:types": "tsc", "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" }, "repository": { "type": "git", "url": "git+https://github.com/focus-trap/tabbable.git" }, "author": { "name": "David Clark", "url": "http://davidtheclark.com/" }, "license": "MIT", "bugs": { "url": "https://github.com/focus-trap/tabbable/issues" }, "homepage": "https://github.com/focus-trap/tabbable#readme", "devDependencies": { "@babel/core": "^7.29.7", "@babel/eslint-parser": "^7.29.7", "@babel/eslint-plugin": "^7.29.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/plugin-proposal-optional-chaining": "^7.20.7", "@babel/preset-env": "^7.29.7", "@changesets/cli": "^2.31.0", "@cypress/code-coverage": "^4.0.3", "@eslint/js": "^9.39.2", "@rollup/plugin-babel": "^7.1.0", "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@types/node": "^25.9.3", "@typescript-eslint/eslint-plugin": "^8.61.1", "@typescript-eslint/parser": "^8.61.1", "all-contributors-cli": "^6.26.1", "babel-jest": "^30.4.1", "babel-loader": "^10.1.1", "babel-plugin-istanbul": "^8.0.0", "babelify": "^10.0.0", "brfs": "^2.0.2", "browserify": "^17.0.1", "budo": "^11.8.4", "cross-env": "^10.1.0", "cypress": "^15.17.0", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-node": "^0.4.0", "eslint-import-resolver-typescript": "^4.4.5", "eslint-plugin-cypress": "^6.4.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^29.15.2", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-testing-library": "^7.16.2", "globals": "^17.6.0", "jest": "^30.4.2", "jest-environment-jsdom": "^30.4.1", "jest-watch-typeahead": "^3.0.1", "onchange": "^7.1.0", "prettier": "^3.8.4", "rollup": "^4.62.0", "typescript": "^6.0.3", "watchify": "^4.0.0", "webpack": "^5.107.2" } }