package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "@emotion/use-insertion-effect-with-fallbacks",
  3. "version": "1.0.1",
  4. "description": "A wrapper package that uses `useInsertionEffect` or a fallback for it",
  5. "main": "dist/emotion-use-insertion-effect-with-fallbacks.cjs.js",
  6. "module": "dist/emotion-use-insertion-effect-with-fallbacks.esm.js",
  7. "browser": {
  8. "./dist/emotion-use-insertion-effect-with-fallbacks.esm.js": "./dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"
  9. },
  10. "license": "MIT",
  11. "repository": "https://github.com/emotion-js/emotion/tree/main/packages/use-insertion-effect-with-fallbacks",
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "files": [
  16. "src",
  17. "dist"
  18. ],
  19. "peerDependencies": {
  20. "react": ">=16.8.0"
  21. },
  22. "devDependencies": {
  23. "react": "16.14.0"
  24. },
  25. "exports": {
  26. ".": {
  27. "module": {
  28. "worker": "./dist/emotion-use-insertion-effect-with-fallbacks.worker.esm.js",
  29. "browser": "./dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js",
  30. "default": "./dist/emotion-use-insertion-effect-with-fallbacks.esm.js"
  31. },
  32. "import": "./dist/emotion-use-insertion-effect-with-fallbacks.cjs.mjs",
  33. "default": "./dist/emotion-use-insertion-effect-with-fallbacks.cjs.js"
  34. },
  35. "./package.json": "./package.json"
  36. },
  37. "preconstruct": {
  38. "exports": {
  39. "envConditions": [
  40. "browser",
  41. "worker"
  42. ]
  43. }
  44. }
  45. }