|
1 | 1 | {
|
2 | 2 | "name": "flowbite-react",
|
3 | 3 | "version": "0.3.8",
|
| 4 | + "description": "Official React components built for Flowbite and Tailwind CSS", |
| 5 | + "keywords": [ |
| 6 | + "design-system", |
| 7 | + "flowbite", |
| 8 | + "flowbite-react", |
| 9 | + "react", |
| 10 | + "tailwind", |
| 11 | + "tailwindcss", |
| 12 | + "tailwind-css" |
| 13 | + ], |
| 14 | + "homepage": "https://flowbite-react.com", |
| 15 | + "bugs": "https://github.com/themesberg/flowbite-react/issues", |
| 16 | + "license": "MIT", |
| 17 | + "files": [ |
| 18 | + "./lib/" |
| 19 | + ], |
4 | 20 | "main": "./lib/cjs/index.js",
|
5 | 21 | "module": "./lib/esm/index.js",
|
6 | 22 | "types": "./lib/esm/index.d.ts",
|
7 |
| - "files": [ |
8 |
| - "lib" |
9 |
| - ], |
10 |
| - "author": { |
11 |
| - "name": "Nasreddine Bac Ali", |
12 |
| - |
13 |
| - "url": "https://github.com/bacali95" |
14 |
| - }, |
15 |
| - "bugs": { |
16 |
| - "url": "https://github.com/themesberg/flowbite-react/issues" |
17 |
| - }, |
18 | 23 | "repository": {
|
19 |
| - "url": "https://github.com/themesberg/flowbite-react", |
20 |
| - "type": "git" |
| 24 | + "type": "git", |
| 25 | + "url": "https://github.com/themesberg/flowbite-react" |
21 | 26 | },
|
22 |
| - "license": "MIT", |
23 |
| - "private": false, |
24 |
| - "homepage": "https://flowbite-react.com", |
25 | 27 | "scripts": {
|
26 | 28 | "build": "react-app-rewired build --profile",
|
27 |
| - "build:lib": "rimraf lib && yarn build:lib:esm && yarn build:lib:cjs", |
| 29 | + "build:lib": "rm -rf ./lib/ && yarn build:lib:esm && yarn build:lib:cjs", |
28 | 30 | "build:lib:cjs": "tsc -p tsconfig.lib.json",
|
29 |
| - "build:lib:esm": "tsc -p tsconfig.lib.json --module esnext --declaration --outDir lib/esm", |
30 |
| - "build:storybook": "build-storybook -o build/storybook", |
| 31 | + "build:lib:esm": "tsc -p tsconfig.lib.json --module esnext --declaration --outDir ./lib/esm", |
| 32 | + "build:storybook": "build-storybook -o ./build/storybook", |
31 | 33 | "commit": "cz",
|
32 | 34 | "cypress:open": "cypress open",
|
33 | 35 | "cypress:run": "cypress run",
|
34 |
| - "eject": "react-app-rewired eject", |
35 | 36 | "lint": "eslint --color .",
|
36 |
| - "lint:staged": "lint-staged --config lint-staged.js", |
37 | 37 | "prettier": "prettier --check .",
|
38 | 38 | "prettier:fix": "prettier --write .",
|
39 | 39 | "prepare": "husky install",
|
|
47 | 47 | "test:e2e": "start-test 3000 cypress:run",
|
48 | 48 | "test:e2e:open": "start-test 3000 cypress:open"
|
49 | 49 | },
|
| 50 | + "config": { |
| 51 | + "commitizen": { |
| 52 | + "path": "./node_modules/cz-conventional-changelog" |
| 53 | + } |
| 54 | + }, |
50 | 55 | "dependencies": {
|
51 | 56 | "@floating-ui/react": "^0.20.1",
|
52 | 57 | "classnames": "^2.3.2",
|
53 | 58 | "react-icons": "^4.7.1",
|
54 | 59 | "react-indiana-drag-scroll": "^2.2.0"
|
55 | 60 | },
|
56 |
| - "peerDependencies": { |
57 |
| - "flowbite": "^1", |
58 |
| - "react": "^18", |
59 |
| - "react-dom": "^18", |
60 |
| - "tailwindcss": "^3" |
61 |
| - }, |
62 | 61 | "devDependencies": {
|
63 | 62 | "@babel/core": "^7.21.0",
|
64 | 63 | "@babel/plugin-syntax-flow": "^7.18.6",
|
|
132 | 131 | "vitest": "^0.29.2",
|
133 | 132 | "webpack": "^5.75.0"
|
134 | 133 | },
|
| 134 | + "peerDependencies": { |
| 135 | + "flowbite": "^1", |
| 136 | + "react": "^18", |
| 137 | + "react-dom": "^18", |
| 138 | + "tailwindcss": "^3" |
| 139 | + }, |
| 140 | + "overrides": { |
| 141 | + "@mdx-js/react": { |
| 142 | + "react": "^18.2.0", |
| 143 | + "react-dom": "^18.2.0" |
| 144 | + } |
| 145 | + }, |
| 146 | + "private": false, |
135 | 147 | "browserslist": {
|
136 | 148 | "production": [
|
137 | 149 | ">0.2%",
|
|
144 | 156 | "last 1 safari version"
|
145 | 157 | ]
|
146 | 158 | },
|
147 |
| - "keywords": [ |
148 |
| - "react", |
149 |
| - "design-system", |
150 |
| - "tailwind", |
151 |
| - "tailwindcss", |
152 |
| - "flowbite", |
153 |
| - "flowbite-react", |
154 |
| - "flowbite-react-components" |
155 |
| - ], |
156 |
| - "config": { |
157 |
| - "commitizen": { |
158 |
| - "path": "./node_modules/cz-conventional-changelog" |
159 |
| - } |
160 |
| - }, |
161 |
| - "overrides": { |
162 |
| - "@mdx-js/react": { |
163 |
| - "react": "^18.2.0", |
164 |
| - "react-dom": "^18.2.0" |
165 |
| - } |
166 |
| - }, |
167 | 159 | "eslintConfig": {
|
168 | 160 | "extends": [
|
169 | 161 | "eslint:recommended",
|
|
0 commit comments