UNPKG

storybook-addon-theme-provider

Version:

Storybook addon to manage global themes provided by Styled components, Emotion or any other solution based on React component. Compatible with Storybook versions 7 and 8

105 lines (104 loc) 2.7 kB
{ "name": "storybook-addon-theme-provider", "version": "0.2.10", "description": "Storybook addon to manage global themes provided by Styled components, Emotion or any other solution based on React component. Compatible with Storybook versions 7 and 8", "keywords": [ "emotion", "styled components", "theme", "provider", "storybook-addons", "storybook", "react", "typescript" ], "repository": { "type": "git", "url": "https://github.com/morewings/storybook-addon-theme-provider" }, "author": "Dima Vyshnkiakov <morewings@gmail.com>", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", "*.js", "*.d.ts" ], "type": "module", "scripts": { "clean": "rimraf ./dist", "prebuild": "run-s clean", "build": "vite build", "build:watch": "NODE_ENV=development run-s 'build --watch'", "test": "echo \"Error: no test specified\" && exit 1", "start": "storybook dev -p 6006 --no-open", "build-storybook": "storybook build" }, "devDependencies": { "@storybook/addon-essentials": "8.6.14", "@storybook/addon-links": "8.6.14", "@storybook/react": "8.6.14", "@storybook/react-vite": "8.6.14", "@types/node": "18.19.103", "@types/react": "18.3.22", "@vitejs/plugin-react": "4.4.1", "@yelo/rollup-node-external": "1.0.1", "npm-run-all2": "8.0.3", "prettier": "3.5.3", "react": "18.3.1", "react-dom": "18.3.1", "rimraf": "6.0.1", "storybook": "8.6.14", "typescript": "5.8.3", "vite": "6.3.5", "vite-plugin-dts": "4.5.4" }, "peerDependencies": { "@storybook/components": ">=7.0.0", "@storybook/manager-api": ">=7.0.0", "@storybook/preview-api": ">=7.0.0", "@storybook/theming": ">=7.0.0", "@storybook/types": ">=7.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true }, "@storybook/components": { "optional": true }, "@storybook/manager-api": { "optional": true }, "@storybook/preview-api": { "optional": true }, "@storybook/theming": { "optional": true }, "@storybook/types": { "optional": true } }, "storybook": { "displayName": "Theme provider addon", "supportedFrameworks": [ "react" ], "unsupportedFrameworks": [ "vue", "angular" ], "icon": "https://raw.githubusercontent.com/morewings/storybook-addon-theme-provider/master/logo.jpg" }, "dependencies": { "@phosphor-icons/react": "^2.1.7" } }