package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "@storybook/react",
  3. "version": "7.6.17",
  4. "description": "Storybook React renderer",
  5. "keywords": [
  6. "storybook"
  7. ],
  8. "homepage": "https://github.com/storybookjs/storybook/tree/next/code/renderers/react",
  9. "bugs": {
  10. "url": "https://github.com/storybookjs/storybook/issues"
  11. },
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/storybookjs/storybook.git",
  15. "directory": "code/renderers/react"
  16. },
  17. "funding": {
  18. "type": "opencollective",
  19. "url": "https://opencollective.com/storybook"
  20. },
  21. "license": "MIT",
  22. "exports": {
  23. ".": {
  24. "types": "./dist/index.d.ts",
  25. "node": "./dist/index.js",
  26. "require": "./dist/index.js",
  27. "import": "./dist/index.mjs"
  28. },
  29. "./preset": "./preset.js",
  30. "./dist/entry-preview.mjs": "./dist/entry-preview.mjs",
  31. "./dist/entry-preview-docs.mjs": "./dist/entry-preview-docs.mjs",
  32. "./package.json": "./package.json"
  33. },
  34. "main": "dist/index.js",
  35. "module": "dist/index.mjs",
  36. "types": "dist/index.d.ts",
  37. "files": [
  38. "dist/**/*",
  39. "template/cli/**/*",
  40. "README.md",
  41. "*.js",
  42. "*.d.ts",
  43. "!src/**/*"
  44. ],
  45. "scripts": {
  46. "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
  47. "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
  48. },
  49. "dependencies": {
  50. "@storybook/client-logger": "7.6.17",
  51. "@storybook/core-client": "7.6.17",
  52. "@storybook/docs-tools": "7.6.17",
  53. "@storybook/global": "^5.0.0",
  54. "@storybook/preview-api": "7.6.17",
  55. "@storybook/react-dom-shim": "7.6.17",
  56. "@storybook/types": "7.6.17",
  57. "@types/escodegen": "^0.0.6",
  58. "@types/estree": "^0.0.51",
  59. "@types/node": "^18.0.0",
  60. "acorn": "^7.4.1",
  61. "acorn-jsx": "^5.3.1",
  62. "acorn-walk": "^7.2.0",
  63. "escodegen": "^2.1.0",
  64. "html-tags": "^3.1.0",
  65. "lodash": "^4.17.21",
  66. "prop-types": "^15.7.2",
  67. "react-element-to-jsx-string": "^15.0.0",
  68. "ts-dedent": "^2.0.0",
  69. "type-fest": "~2.19",
  70. "util-deprecate": "^1.0.2"
  71. },
  72. "devDependencies": {
  73. "@babel/core": "^7.23.2",
  74. "@storybook/test": "7.6.17",
  75. "@types/util-deprecate": "^1.0.0",
  76. "expect-type": "^0.15.0",
  77. "jest-specific-snapshot": "^8.0.0",
  78. "require-from-string": "^2.0.2"
  79. },
  80. "peerDependencies": {
  81. "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
  82. "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
  83. "typescript": "*"
  84. },
  85. "peerDependenciesMeta": {
  86. "typescript": {
  87. "optional": true
  88. }
  89. },
  90. "engines": {
  91. "node": ">=16.0.0"
  92. },
  93. "publishConfig": {
  94. "access": "public"
  95. },
  96. "bundler": {
  97. "entries": [
  98. "./src/index.ts",
  99. "./src/preset.ts",
  100. "./src/entry-preview.ts",
  101. "./src/entry-preview-docs.ts"
  102. ],
  103. "platform": "browser"
  104. },
  105. "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
  106. }