package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "@storybook/addon-storysource",
  3. "version": "7.6.17",
  4. "description": "View a story’s source code to see how it works and paste into your app",
  5. "keywords": [
  6. "addon",
  7. "storybook",
  8. "code"
  9. ],
  10. "homepage": "https://github.com/storybookjs/storybook/tree/next/code/addons/storysource",
  11. "bugs": {
  12. "url": "https://github.com/storybookjs/storybook/issues"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/storybookjs/storybook.git",
  17. "directory": "code/addons/storysource"
  18. },
  19. "funding": {
  20. "type": "opencollective",
  21. "url": "https://opencollective.com/storybook"
  22. },
  23. "license": "MIT",
  24. "exports": {
  25. ".": {
  26. "types": "./dist/index.d.ts",
  27. "node": "./dist/index.js",
  28. "require": "./dist/index.js",
  29. "import": "./dist/index.mjs"
  30. },
  31. "./preset": "./dist/preset.js",
  32. "./manager": "./dist/manager.js",
  33. "./package.json": "./package.json"
  34. },
  35. "main": "dist/index.js",
  36. "module": "dist/index.mjs",
  37. "types": "dist/index.d.ts",
  38. "files": [
  39. "dist/**/*",
  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/addon-bundle.ts"
  48. },
  49. "dependencies": {
  50. "@storybook/source-loader": "7.6.17",
  51. "estraverse": "^5.2.0",
  52. "tiny-invariant": "^1.3.1"
  53. },
  54. "devDependencies": {
  55. "@storybook/client-logger": "7.6.17",
  56. "@storybook/components": "7.6.17",
  57. "@storybook/manager-api": "7.6.17",
  58. "@storybook/preview-api": "7.6.17",
  59. "@storybook/router": "7.6.17",
  60. "@storybook/theming": "7.6.17",
  61. "@types/react": "^16.14.34",
  62. "@types/react-syntax-highlighter": "11.0.5",
  63. "react": "^16.8.0",
  64. "react-dom": "^16.8.0",
  65. "react-syntax-highlighter": "^15.5.0",
  66. "typescript": "~4.9.3"
  67. },
  68. "publishConfig": {
  69. "access": "public"
  70. },
  71. "bundler": {
  72. "exportEntries": [
  73. "./src/index.ts"
  74. ],
  75. "managerEntries": [
  76. "./src/manager.tsx"
  77. ],
  78. "nodeEntries": [
  79. "./src/preset.ts"
  80. ]
  81. },
  82. "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
  83. "storybook": {
  84. "displayName": "Storysource",
  85. "icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",
  86. "unsupportedFrameworks": [
  87. "react-native"
  88. ]
  89. }
  90. }