UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

194 lines (193 loc) 5.76 kB
{ "name": "flowbite-react", "version": "0.7.2", "description": "Official React components built for Flowbite and Tailwind CSS", "keywords": [ "design-system", "flowbite", "flowbite-react", "react", "tailwind", "tailwindcss", "tailwind-css" ], "homepage": "https://flowbite-react.com", "bugs": "https://github.com/themesberg/flowbite-react/issues", "license": "MIT", "files": [ "./lib/" ], "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/esm/index.d.ts", "repository": { "type": "git", "url": "https://github.com/themesberg/flowbite-react" }, "scripts": { "build": "next build", "build:lib": "rm -rf ./lib/ && yarn build:lib:esm && yarn build:lib:cjs", "build:lib:cjs": "tsc -p tsconfig.lib.json", "build:lib:esm": "tsc -p tsconfig.lib.json --module esnext --declaration --outDir ./lib/esm", "commit": "cz", "cypress:open": "cypress open", "cypress:run": "cypress run", "dev": "next dev", "lint": "eslint --color .", "prepublishOnly": "yarn build:lib", "prettier": "prettier --check .", "prettier:fix": "prettier --write .", "release": "standard-version -a", "start": "next start", "storybook": "storybook dev -p 3001", "storybook:build": "storybook build", "test": "vitest", "test:coverage": "vitest run --coverage", "test:open": "vitest --ui", "test:e2e": "start-test 3000 cypress:run", "test:e2e:open": "start-test 3000 cypress:open", "typecheck": "tsc --noEmit" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "@floating-ui/react": "^0.26.2", "contentlayer": "^0.3.4", "flowbite": "^2.0.0", "markdown-toc": "^1.2.0", "next-contentlayer": "^0.3.4", "react-icons": "^4.11.0", "react-indiana-drag-scroll": "^2.2.0", "react-markdown": "^9.0.0", "sharp": "^0.32.6", "tailwind-merge": "^2.0.0" }, "devDependencies": { "@docsearch/react": "^3.5.2", "@mapbox/rehype-prism": "^0.9.0", "@storybook/addon-a11y": "^7.5.3", "@storybook/addon-actions": "^7.5.3", "@storybook/addon-docs": "^7.5.3", "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", "@storybook/addon-links": "^7.5.3", "@storybook/addon-mdx-gfm": "^7.5.3", "@storybook/addon-postcss": "^2.0.0", "@storybook/addon-styling": "^1.3.7", "@storybook/addons": "^7.5.3", "@storybook/api": "^7.5.3", "@storybook/blocks": "^7.5.3", "@storybook/builder-vite": "^7.5.3", "@storybook/components": "^7.5.3", "@storybook/core-events": "^7.5.3", "@storybook/nextjs": "^7.5.3", "@storybook/react": "^7.5.3", "@storybook/testing-library": "^0.2.2", "@storybook/theming": "^7.5.3", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.1.0", "@testing-library/user-event": "^14.5.1", "@types/node": "^20.9.0", "@types/prismjs": "^1.26.3", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@types/react-syntax-highlighter": "^15.5.10", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "@vitejs/plugin-react": "^4.1.1", "@vitest/coverage-v8": "^0.34.6", "@vitest/ui": "^0.34.6", "autoprefixer": "^10.4.16", "axe-core": "^4.8.2", "commitizen": "^4.3.0", "cypress": "^13.4.0", "cypress-axe": "^1.5.0", "cz-conventional-changelog": "3.3.0", "eslint": "^8.53.0", "eslint-config-next": "^14.0.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", "fathom-client": "^3.6.0", "jsdom": "^22.1.0", "next": "^14.0.1", "postcss": "^8.4.31", "prettier": "^3.0.3", "prettier-plugin-organize-imports": "^3.2.3", "prettier-plugin-tailwindcss": "^0.5.6", "prismjs": "^1.29.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", "resize-observer-polyfill": "^1.5.1", "standard-version": "^9.5.0", "start-server-and-test": "^2.0.2", "storybook": "^7.5.3", "storybook-dark-mode": "^3.0.1", "tailwindcss": "^3.3.5", "terser-webpack-plugin": "^5.3.9", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.2.2", "vite": "^4.5.0", "vite-tsconfig-paths": "^4.2.1", "vitest": "^0.34.6" }, "peerDependencies": { "react": "^18", "react-dom": "^18", "tailwindcss": "^3" }, "resolutions": { "nwsapi": "^2.2.4" }, "private": false, "eslintConfig": { "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:jsx-a11y/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:storybook/recommended", "next" ], "ignorePatterns": [ "/build/", "/coverage/", "/docs/", "/lib/", "/postcss.config.js", "/tailwind.config.js" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true }, "project": [ "./tsconfig.json", "./cypress/tsconfig.json" ] }, "plugins": [ "@typescript-eslint", "jsx-a11y", "react", "react-hooks", "storybook" ], "root": true, "rules": { "@typescript-eslint/consistent-type-imports": "warn", "@next/next/no-img-element": "off", "jsx-a11y/anchor-is-valid": "off", "react/no-unescaped-entities": "off" } } }