mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
103 lines
2.6 KiB
JSON
103 lines
2.6 KiB
JSON
{
|
||
"name": "@storybook/addon-storysource",
|
||
"version": "7.0.0-alpha.47",
|
||
"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/main/addons/storysource",
|
||
"bugs": {
|
||
"url": "https://github.com/storybookjs/storybook/issues"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/storybookjs/storybook.git",
|
||
"directory": "addons/storysource"
|
||
},
|
||
"funding": {
|
||
"type": "opencollective",
|
||
"url": "https://opencollective.com/storybook"
|
||
},
|
||
"license": "MIT",
|
||
"exports": {
|
||
".": {
|
||
"require": "./dist/index.js",
|
||
"import": "./dist/index.mjs",
|
||
"types": "./dist/index.d.ts"
|
||
},
|
||
"./preset": {
|
||
"require": "./dist/preset.js",
|
||
"import": "./dist/preset.mjs",
|
||
"types": "./dist/preset.d.ts"
|
||
},
|
||
"./register": {
|
||
"require": "./dist/manager.js",
|
||
"import": "./dist/manager.mjs",
|
||
"types": "./dist/manager.d.ts"
|
||
},
|
||
"./package.json": "./package.json"
|
||
},
|
||
"main": "dist/index.js",
|
||
"module": "dist/index.mjs",
|
||
"types": "dist/index.d.ts",
|
||
"files": [
|
||
"dist/**/*",
|
||
"README.md",
|
||
"*.js",
|
||
"*.d.ts"
|
||
],
|
||
"scripts": {
|
||
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
||
"prep": "../../../scripts/prepare/bundle.ts"
|
||
},
|
||
"dependencies": {
|
||
"@storybook/addons": "7.0.0-alpha.47",
|
||
"@storybook/api": "7.0.0-alpha.47",
|
||
"@storybook/client-logger": "7.0.0-alpha.47",
|
||
"@storybook/components": "7.0.0-alpha.47",
|
||
"@storybook/router": "7.0.0-alpha.47",
|
||
"@storybook/source-loader": "7.0.0-alpha.47",
|
||
"@storybook/theming": "7.0.0-alpha.47",
|
||
"estraverse": "^5.2.0",
|
||
"prop-types": "^15.7.2",
|
||
"react-syntax-highlighter": "^15.5.0"
|
||
},
|
||
"devDependencies": {
|
||
"@types/react": "^16.14.23",
|
||
"@types/react-syntax-highlighter": "11.0.5",
|
||
"typescript": "~4.6.3"
|
||
},
|
||
"peerDependencies": {
|
||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||
},
|
||
"peerDependenciesMeta": {
|
||
"react": {
|
||
"optional": true
|
||
},
|
||
"react-dom": {
|
||
"optional": true
|
||
}
|
||
},
|
||
"publishConfig": {
|
||
"access": "public"
|
||
},
|
||
"bundler": {
|
||
"entries": [
|
||
"./src/index.ts",
|
||
"./src/manager.tsx",
|
||
"./src/preset.ts"
|
||
]
|
||
},
|
||
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
|
||
"storybook": {
|
||
"displayName": "Storysource",
|
||
"icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",
|
||
"unsupportedFrameworks": [
|
||
"react-native"
|
||
]
|
||
}
|
||
}
|