package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@floating-ui/core",
  3. "version": "1.6.0",
  4. "description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more",
  5. "publishConfig": {
  6. "access": "public"
  7. },
  8. "main": "./dist/floating-ui.core.umd.js",
  9. "module": "./dist/floating-ui.core.esm.js",
  10. "unpkg": "./dist/floating-ui.core.umd.min.js",
  11. "types": "./dist/floating-ui.core.d.ts",
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": {
  15. "import": {
  16. "types": "./dist/floating-ui.core.d.mts",
  17. "default": "./dist/floating-ui.core.mjs"
  18. },
  19. "types": "./dist/floating-ui.core.d.ts",
  20. "module": "./dist/floating-ui.core.esm.js",
  21. "default": "./dist/floating-ui.core.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/core"
  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/utils": "^0.2.1"
  47. },
  48. "devDependencies": {
  49. "config": "0.0.0"
  50. },
  51. "scripts": {
  52. "test": "vitest run",
  53. "test:watch": "vitest watch",
  54. "lint": "biome lint .",
  55. "clean": "rimraf dist out-tsc",
  56. "dev": "rollup -c -w",
  57. "build": "rollup -c",
  58. "build:api": "build-api --tsc tsconfig.lib.json",
  59. "publint": "publint",
  60. "typecheck": "tsc -b"
  61. }
  62. }