package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@floating-ui/dom",
  3. "version": "1.6.12",
  4. "description": "Floating UI for the web",
  5. "publishConfig": {
  6. "access": "public"
  7. },
  8. "main": "./dist/floating-ui.dom.umd.js",
  9. "module": "./dist/floating-ui.dom.esm.js",
  10. "unpkg": "./dist/floating-ui.dom.umd.min.js",
  11. "types": "./dist/floating-ui.dom.d.ts",
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": {
  15. "import": {
  16. "types": "./dist/floating-ui.dom.d.mts",
  17. "default": "./dist/floating-ui.dom.mjs"
  18. },
  19. "types": "./dist/floating-ui.dom.d.ts",
  20. "module": "./dist/floating-ui.dom.esm.js",
  21. "default": "./dist/floating-ui.dom.umd.js"
  22. }
  23. },
  24. "sideEffects": false,
  25. "files": [
  26. "dist"
  27. ],
  28. "author": "atomiks",
  29. "license": "MIT",
  30. "bugs": "https://github.com/floating-ui/floating-ui",
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/floating-ui/floating-ui.git",
  34. "directory": "packages/dom"
  35. },
  36. "homepage": "https://floating-ui.com",
  37. "keywords": [
  38. "tooltip",
  39. "popover",
  40. "dropdown",
  41. "menu",
  42. "popup",
  43. "positioning"
  44. ],
  45. "dependencies": {
  46. "@floating-ui/core": "^1.6.0",
  47. "@floating-ui/utils": "^0.2.8"
  48. },
  49. "devDependencies": {
  50. "@types/react": "^18.2.46",
  51. "@types/react-dom": "^18.2.18",
  52. "@vitejs/plugin-react": "^4.2.1",
  53. "react": "^18.2.0",
  54. "react-dom": "^18.2.0",
  55. "react-router-dom": "^6.21.1",
  56. "config": "0.0.0"
  57. },
  58. "scripts": {
  59. "lint": "eslint .",
  60. "format": "prettier --write .",
  61. "clean": "rimraf dist out-tsc test-results",
  62. "dev": "vite",
  63. "build": "rollup -c",
  64. "build:api": "build-api --tsc tsconfig.lib.json",
  65. "test": "vitest run",
  66. "test:watch": "vitest watch",
  67. "publint": "publint",
  68. "playwright": "playwright test ./test/functional",
  69. "typecheck": "tsc -b"
  70. }
  71. }