UNPKG

storybook-theme-switch-addon

Version:
127 lines (126 loc) 3.44 kB
{ "name": "storybook-theme-switch-addon", "version": "1.0.2", "description": "Switch easily between multiple themes declared in your css files", "keywords": [ "stylesheet", "css", "themes", "tailwind", "switcher", "addons", "storybook-addons" ], "repository": { "type": "git", "url": "https://github.com/krzysztof01-sz/storybook-theme-switch-addon" }, "author": "Krzysztof <krzysztofs012@outlook.com>", "license": "MIT", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./manager": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.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": { "clean": "rimraf ./dist", "prebuild": "yarn clean", "build": "tsup", "build:watch": "yarn build --watch", "test": "echo \"Error: no test specified\" && exit 1", "start": "run-p build:watch 'storybook --quiet'", "prerelease": "zx scripts/prepublish-checks.mjs", "release": "yarn build && auto shipit", "eject-ts": "zx scripts/eject-typescript.mjs", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "dependencies": { "@storybook/client-logger": "next", "@storybook/icons": "^1.2.9" }, "devDependencies": { "@chromatic-com/storybook": "^1", "@storybook/addon-essentials": "^8.2.3", "@storybook/addon-interactions": "^8.2.3", "@storybook/addon-links": "^8.2.3", "@storybook/manager-api": "^8.2.3", "@storybook/components": "^8.2.3", "@storybook/react": "^8.2.3", "@storybook/react-vite": "^8.2.3", "@storybook/test": "^8.2.3", "@storybook/types": "^8.2.3", "@types/node": "^18.15.0", "@types/react": "^18.0.34", "@vitejs/plugin-react": "^3.1.0", "auto": "^11.0.5", "boxen": "^5.0.1", "dedent": "^0.7.0", "npm-run-all": "^4.1.5", "prettier": "^2.3.1", "prompts": "^2.4.2", "prop-types": "^15.8.1", "react": "^18.0.0", "react-dom": "^18.0.0", "rimraf": "^3.0.2", "storybook": "^8.2.3", "tsup": "^6.6.3", "typescript": "^4.9.5", "vite": "^4.1.4", "zx": "^1.14.1" }, "peerDependencies": { "@storybook/blocks": "^8.2.3", "@storybook/components": "^8.2.3", "@storybook/core-events": "^8.2.3", "@storybook/manager-api": "^8.2.3", "@storybook/preview-api": "^8.2.3", "@storybook/theming": "^8.2.3", "@storybook/types": "^8.2.3", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "publishConfig": { "access": "public" }, "storybook": { "displayName": "Storybook theme switcher", "supportedFrameworks": [ "react", "next", "vue", "angular" ], "icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png" } }