UNPKG

flare-storybook-addon-data-theme-switcher

Version:
158 lines (157 loc) 4.79 kB
{ "name": "flare-storybook-addon-data-theme-switcher", "version": "0.3.0", "description": "A Storybook addon to switch the data-theme attribute on the html element", "keywords": [ "storybook-addons", "storybook-addon-theme", "storybook-addon-data-theme-switcher", "storybook-addon-theme-switcher", "storybook", "theme", "data-theme", "react", "tailwind", "tailwindcss", "daisyUI" ], "homepage": "https://github.com/flarehealth/storybook-addon-data-theme-switcher.git", "repository": { "type": "git", "url": "https://github.com/flarehealth/storybook-addon-data-theme-switcher.git" }, "license": "MIT", "author": "Flare Health", "type": "module", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./manager": { "require": "./dist/manager.cjs", "import": "./dist/manager.js", "types": "./dist/manager.d.ts" }, "./preview": { "require": "./dist/preview.cjs", "import": "./dist/preview.js", "types": "./dist/preview.d.ts" }, "./package.json": "./package.json" }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", "*.js", "*.d.ts" ], "scripts": { "prebuild": "pnpm clean", "build": "tsup", "build-storybook": "storybook build", "build:watch": "pnpm build --watch", "changelog": "tsx scripts/changelog.ts", "changelog:commit": "git add . && git commit -am 'docs: add changelog' && git push", "changelog:format": "prettier --write .changelog", "changelog:latest": "tsx scripts/changelog.ts --latest", "clean": "rimraf ./dist", "preinstall": "npx only-allow pnpm", "prepare": "husky", "release": "changeset publish", "start": "concurrently \"pnpm build:watch\" \"pnpm storybook --quiet\"", "storybook": "storybook dev -p 6006", "test": "echo \"Error: no test specified\" && exit 1", "version": "changeset version" }, "devDependencies": { "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.1", "@changesets/get-release-plan": "^4.0.0", "@changesets/types": "^6.0.0", "@commitlint/cli": "^18.6.0", "@commitlint/config-conventional": "^18.6.0", "@octokit/rest": "^20.0.2", "@storybook/addon-essentials": "^7.6.10", "@storybook/addon-interactions": "^7.6.10", "@storybook/addon-links": "^7.6.10", "@storybook/components": "^7.6.10", "@storybook/manager-api": "^7.6.10", "@storybook/preview-api": "^7.6.10", "@storybook/react": "^7.6.10", "@storybook/react-vite": "^7.6.10", "@storybook/testing-library": "^0.2.2", "@storybook/theming": "^7.6.10", "@storybook/types": "^7.6.10", "@types/edit-json-file": "^1.7.3", "@types/eslint": "^8.56.2", "@types/node": "^20.11.8", "@types/react": "^18.2.48", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.17", "concurrently": "^8.2.2", "edit-json-file": "^1.8.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-storybook": "^0.6.15", "global": "^4.4.0", "husky": "^9.0.6", "lint-staged": "^15.2.0", "memoizerific": "^1.11.3", "postcss": "^8.4.33", "prettier": "^3.2.4", "prettier-plugin-packagejson": "^2.4.9", "prettier-plugin-tailwindcss": "^0.5.11", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", "storybook": "^7.6.10", "tailwindcss": "^3.4.1", "tsup": "^8.0.1", "tsx": "^4.7.0", "typescript": "^5.3.3", "vite": "^5.0.12" }, "peerDependencies": { "@storybook/components": "^7.0.4", "@storybook/manager-api": "^7.0.4", "@storybook/preview-api": "^7.0.4", "@storybook/theming": "^7.0.4", "@storybook/types": "^7.0.4", "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 } }, "packageManager": "pnpm@8.15.1", "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" }, "storybook": { "displayName": "Storybook Addon Data Theme Switcher", "supportedFrameworks": [ "react" ], "icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png" } }