package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "@floating-ui/core",
  3. "version": "1.0.1",
  4. "@rollingversions": {
  5. "baseVersion": [
  6. 0,
  7. 0,
  8. 0
  9. ]
  10. },
  11. "description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more",
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "main": "./dist/floating-ui.core.umd.js",
  16. "module": "./dist/floating-ui.core.esm.js",
  17. "unpkg": "./dist/floating-ui.core.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.core.browser.mjs",
  25. "default": "./dist/floating-ui.core.browser.min.mjs"
  26. },
  27. "default": "./dist/floating-ui.core.mjs"
  28. },
  29. "module": "./dist/floating-ui.core.esm.js",
  30. "default": "./dist/floating-ui.core.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. "test": "jest test",
  43. "dev": "rollup -c -w",
  44. "build": "NODE_ENV=build rollup -c"
  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/core"
  53. },
  54. "homepage": "https://floating-ui.com",
  55. "keywords": [
  56. "tooltip",
  57. "popover",
  58. "dropdown",
  59. "menu",
  60. "popup",
  61. "positioning"
  62. ],
  63. "devDependencies": {
  64. "@atomico/rollup-plugin-sizes": "^1.1.4",
  65. "@babel/preset-env": "^7.16.4",
  66. "@babel/preset-typescript": "^7.16.0",
  67. "@rollup/plugin-babel": "^5.3.0",
  68. "@rollup/plugin-node-resolve": "^13.0.6",
  69. "@rollup/plugin-replace": "^3.0.0",
  70. "@types/jest": "^27.0.3",
  71. "babel-plugin-annotate-pure-calls": "^0.4.0",
  72. "jest": "^27.3.1",
  73. "rollup": "^2.60.1",
  74. "rollup-plugin-terser": "^7.0.2",
  75. "ts-jest": "^27.0.7"
  76. }
  77. }