package.json 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "tabbable",
  3. "version": "6.0.1",
  4. "description": "Returns an array of all tabbable DOM nodes within a containing node.",
  5. "main": "dist/index.js",
  6. "module": "dist/index.esm.js",
  7. "types": "index.d.ts",
  8. "sideEffects": false,
  9. "files": [
  10. "package.json",
  11. "dist",
  12. "src",
  13. "index.d.ts",
  14. "README.md",
  15. "CHANGELOG.md",
  16. "SECURITY.md",
  17. "LICENSE"
  18. ],
  19. "scripts": {
  20. "build": "yarn clean && yarn compile",
  21. "clean": "rm -rf ./dist",
  22. "compile:esm": "cross-env BUILD_ENV=esm BABEL_ENV=esm rollup -c",
  23. "compile:cjs": "cross-env BUILD_ENV=cjs BABEL_ENV=es5 rollup -c",
  24. "compile:umd": "cross-env BUILD_ENV=umd BABEL_ENV=es5 rollup -c",
  25. "compile": "yarn compile:esm && yarn compile:cjs && yarn compile:umd",
  26. "format": "prettier --write \"{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)\"",
  27. "format:check": "prettier --check \"{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)\"",
  28. "format:watch": "onchange \"{*,src/**/*,test/**/*,.github/workflows/*}.+(js|yml)\" -- prettier --write {{changed}}",
  29. "lint": "eslint \"*.js\" \"src/**/*.js\" \"test/**/*.js\"",
  30. "start": "yarn compile:cjs && budo -l -d -o test/debug.js -- -t brfs",
  31. "test": "yarn format:check && yarn lint && yarn test:types && yarn test:unit && yarn test:e2e",
  32. "test:types": "tsc index.d.ts",
  33. "test:unit": "jest",
  34. "test:e2e": "ELECTRON_ENABLE_LOGGING=1 cypress run",
  35. "test:e2e:dev": "cypress open --browser --e2e",
  36. "test:coverage": "BABEL_ENV=test yarn test:e2e --env coverage=true",
  37. "prepare": "yarn build",
  38. "prepublishOnly": "yarn test && yarn build",
  39. "release": "yarn build && changeset publish"
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/focus-trap/tabbable.git"
  44. },
  45. "author": {
  46. "name": "David Clark",
  47. "url": "http://davidtheclark.com/"
  48. },
  49. "license": "MIT",
  50. "bugs": {
  51. "url": "https://github.com/focus-trap/tabbable/issues"
  52. },
  53. "homepage": "https://github.com/focus-trap/tabbable#readme",
  54. "dependencies": {},
  55. "devDependencies": {
  56. "@babel/core": "^7.19.6",
  57. "@babel/eslint-parser": "^7.19.1",
  58. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
  59. "@babel/plugin-proposal-optional-chaining": "^7.18.6",
  60. "@babel/preset-env": "^7.19.4",
  61. "@changesets/cli": "^2.25.0",
  62. "@cypress/code-coverage": "^3.10.0",
  63. "@rollup/plugin-babel": "^6.0.2",
  64. "@rollup/plugin-commonjs": "^23.0.2",
  65. "@rollup/plugin-node-resolve": "^15.0.1",
  66. "@testing-library/dom": "^8.19.0",
  67. "@testing-library/jest-dom": "^5.16.5",
  68. "@types/node": "^18.11.5",
  69. "all-contributors-cli": "^6.24.0",
  70. "babel-jest": "^29.2.2",
  71. "babel-loader": "^8.2.5",
  72. "babel-plugin-istanbul": "^6.1.1",
  73. "brfs": "^2.0.2",
  74. "browserify": "^17.0.0",
  75. "budo": "^11.8.4",
  76. "cross-env": "^7.0.3",
  77. "cypress": "^10.11.0",
  78. "eslint": "^8.26.0",
  79. "eslint-config-prettier": "^8.5.0",
  80. "eslint-plugin-cypress": "^2.12.1",
  81. "eslint-plugin-import": "^2.26.0",
  82. "eslint-plugin-jest": "^27.1.3",
  83. "jest": "^29.2.2",
  84. "jest-watch-typeahead": "^2.2.0",
  85. "onchange": "^7.1.0",
  86. "prettier": "^2.7.1",
  87. "rollup": "^2.79.1",
  88. "rollup-plugin-sourcemaps": "^0.6.3",
  89. "rollup-plugin-terser": "^7.0.2",
  90. "typescript": "^4.8.4",
  91. "watchify": "^4.0.0",
  92. "webpack": "^5.74.0"
  93. }
  94. }