package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "@floating-ui/dom",
  3. "version": "1.0.3",
  4. "@rollingversions": {
  5. "baseVersion": [
  6. 0,
  7. 0,
  8. 0
  9. ]
  10. },
  11. "description": "Floating UI for the web",
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "main": "./dist/floating-ui.dom.umd.js",
  16. "module": "./dist/floating-ui.dom.esm.js",
  17. "unpkg": "./dist/floating-ui.dom.umd.min.js",
  18. "types": "./index.d.ts",
  19. "exports": {
  20. ".": {
  21. "types": "./index.d.ts",
  22. "import": {
  23. "browser": {
  24. "development": "./dist/floating-ui.dom.browser.mjs",
  25. "default": "./dist/floating-ui.dom.browser.min.mjs"
  26. },
  27. "default": "./dist/floating-ui.dom.mjs"
  28. },
  29. "module": "./dist/floating-ui.dom.esm.js",
  30. "default": "./dist/floating-ui.dom.umd.js"
  31. },
  32. "./package.json": "./package.json"
  33. },
  34. "sideEffects": false,
  35. "files": [
  36. "dist/",
  37. "index.d.ts",
  38. "src/**/*.d.ts"
  39. ],
  40. "browserslist": "> 0.5%, not dead, not IE 11",
  41. "scripts": {
  42. "dev": "parcel test/visual/index.html",
  43. "build": "NODE_ENV=build rollup -c",
  44. "test": "jest test/unit"
  45. },
  46. "author": "atomiks",
  47. "license": "MIT",
  48. "bugs": "https://github.com/floating-ui/floating-ui",
  49. "repository": {
  50. "type": "git",
  51. "url": "https://github.com/floating-ui/floating-ui.git",
  52. "directory": "packages/dom"
  53. },
  54. "homepage": "https://floating-ui.com",
  55. "keywords": [
  56. "tooltip",
  57. "popover",
  58. "dropdown",
  59. "menu",
  60. "popup",
  61. "positioning"
  62. ],
  63. "dependencies": {
  64. "@floating-ui/core": "^1.0.1"
  65. },
  66. "devDependencies": {
  67. "@babel/preset-env": "^7.16.4",
  68. "@babel/preset-typescript": "^7.16.0",
  69. "@playwright/test": "^1.16.3",
  70. "@rollup/plugin-replace": "^3.0.0",
  71. "@types/jest": "^27.0.3",
  72. "@types/react": "^18.0.1",
  73. "babel-plugin-annotate-pure-calls": "^0.4.0",
  74. "concurrently": "^6.4.0",
  75. "jest": "^27.3.1",
  76. "react": "^18.0.0",
  77. "react-dom": "^18.0.0",
  78. "react-router-dom": "^6.1.1",
  79. "rollup-plugin-terser": "^7.0.2",
  80. "serve": "^13.0.2",
  81. "ts-jest": "^27.0.7"
  82. }
  83. }