package.json 1.9 KB

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