package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "@a11y/focus-trap",
  3. "version": "1.0.5",
  4. "license": "MIT",
  5. "module": "index.js",
  6. "author": "Andreas Mehlsen",
  7. "description": "A lightweight web component that traps focus within a DOM node",
  8. "bugs": {
  9. "url": "https://github.com/andreasbm/focus-trap/issues"
  10. },
  11. "publishConfig": {
  12. "access": "public"
  13. },
  14. "homepage": "https://github.com/andreasbm/focus-trap#readme",
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/andreasbm/focus-trap.git"
  18. },
  19. "keywords": [
  20. "custom",
  21. "elements",
  22. "web",
  23. "component",
  24. "custom element",
  25. "web component",
  26. "focus",
  27. "accessibility",
  28. "dialog",
  29. "focus trap",
  30. "trap"
  31. ],
  32. "main": "index.js",
  33. "types": "index.d.ts",
  34. "scripts": {
  35. "ncu": "ncu -u -a && npm update && npm install",
  36. "test": "karma start",
  37. "b:dev": "rollup -c --environment NODE_ENV:dev",
  38. "b:prod": "rollup -c --environment NODE_ENV:prod",
  39. "s:dev": "rollup -c --watch --environment NODE_ENV:dev",
  40. "s:prod": "rollup -c --watch --environment NODE_ENV:prod",
  41. "s": "npm run s:dev",
  42. "start": "npm run s",
  43. "b:lib": "node pre-build.js && tsc -p tsconfig.build.json",
  44. "readme": "node node_modules/.bin/readme generate",
  45. "postversion": "npm run readme && npm run b:lib",
  46. "publish:patch": "np patch --contents=dist --no-cleanup",
  47. "publish:minor": "np minor --contents=dist --no-cleanup",
  48. "publish:major": "np major --contents=dist --no-cleanup"
  49. },
  50. "devDependencies": {
  51. "@appnest/readme": "^1.2.5",
  52. "@appnest/web-config": "0.4.33"
  53. }
  54. }