storybook-addon-source-link
Version:
Add a button to the Storybook toolbar that opens the file containing the Story in an IDE like VSCode.
96 lines • 2.28 kB
JSON
{
"name": "storybook-addon-source-link",
"version": "0.2.2",
"description": "Add a button to the Storybook toolbar that opens the file containing the Story in an IDE like VSCode.",
"keywords": [
"file",
"vscode",
"link",
"open",
"storybook-addons"
],
"repository": {
"type": "git",
"url": "https://github.com/elecdeer/storybook-addon-source-link/tree/main"
},
"type": "module",
"license": "MIT",
"author": "elecdeer",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./preset": "./dist/preset.cjs",
"./preview": "./dist/preview.js",
"./manager": "./dist/manager.js",
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"dependencies": {
"@storybook/blocks": "^8.0.0",
"@storybook/components": "^8.0.0",
"@storybook/core-events": "^8.0.0",
"@storybook/icons": "^1.2.9",
"@storybook/manager-api": "^8.0.0",
"@storybook/preview-api": "^8.0.0",
"@storybook/theming": "^8.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@std/path": "npm:@jsr/std__path@^1.1.1",
"@storybook/types": "^8.0.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"npm-run-all": "^4.1.5",
"storybook": "^8.0.0",
"tsup": "^8.1.0"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"bundler": {
"exportEntries": [
"src/index.ts"
],
"managerEntries": [
"src/manager.ts"
],
"previewEntries": [
"src/preview.tsx"
],
"nodeEntries": [
"src/preset.ts"
]
},
"storybook": {
"displayName": "source-link",
"supportedFrameworks": [
"react",
"vue",
"angular",
"web-components",
"ember",
"html",
"svelte",
"preact",
"react-native"
],
"icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
},
"scripts": {
"build": "tsup",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "biome check",
"type-check": "tsc --noEmit"
}
}