package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@floating-ui/dom",
  3. "version": "1.6.3",
  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.0.0",
  47. "@floating-ui/utils": "^0.2.0"
  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": "biome lint .",
  60. "clean": "rimraf dist out-tsc test-results",
  61. "dev": "vite",
  62. "build": "rollup -c",
  63. "build:api": "build-api --tsc tsconfig.lib.json",
  64. "test": "vitest run",
  65. "test:watch": "vitest watch",
  66. "publint": "publint",
  67. "playwright": "playwright test ./test/functional",
  68. "typecheck": "tsc -b"
  69. }
  70. }