UNPKG

@storybook/addon-storysource

Version:

View a story’s source code to see how it works and paste into your app

86 lines 2.16 kB
{ "name": "@storybook/addon-storysource", "version": "8.6.14", "description": "View a story’s source code to see how it works and paste into your app", "keywords": [ "addon", "storybook", "code" ], "homepage": "https://github.com/storybookjs/storybook/tree/next/code/addons/storysource", "bugs": { "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", "url": "https://github.com/storybookjs/storybook.git", "directory": "code/addons/storysource" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/storybook" }, "license": "MIT", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./preset": "./dist/preset.js", "./manager": "./dist/manager.js", "./package.json": "./package.json" }, "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", "*.js", "*.d.ts", "!src/**/*" ], "scripts": { "check": "jiti ../../../scripts/prepare/check.ts", "prep": "jiti ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { "@storybook/source-loader": "8.6.14", "estraverse": "^5.2.0", "tiny-invariant": "^1.3.1" }, "devDependencies": { "@types/react": "^18.0.37", "@types/react-syntax-highlighter": "11.0.5", "react": "^18.2.0", "react-dom": "^18.2.0", "react-syntax-highlighter": "^15.5.0", "typescript": "^5.7.3" }, "peerDependencies": { "storybook": "^8.6.14" }, "publishConfig": { "access": "public" }, "bundler": { "exportEntries": [ "./src/index.ts" ], "managerEntries": [ "./src/manager.tsx" ], "nodeEntries": [ "./src/preset.ts" ] }, "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Storysource", "icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png", "unsupportedFrameworks": [ "react-native" ] } }