Skip to content

Commit 7f9ef9f

Browse files
author
SutuSebastian
committed
fix: revert package.json prune
1 parent a1b0618 commit 7f9ef9f

File tree

1 file changed

+161
-8
lines changed

1 file changed

+161
-8
lines changed

package.json

Lines changed: 161 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "flowbite-react",
33
"version": "0.7.4",
4-
"private": false,
54
"description": "Official React components built for Flowbite and Tailwind CSS",
65
"keywords": [
76
"design-system",
@@ -14,28 +13,182 @@
1413
],
1514
"homepage": "https://flowbite-react.com",
1615
"bugs": "https://github.com/themesberg/flowbite-react/issues",
17-
"repository": {
18-
"type": "git",
19-
"url": "git+https://github.com/themesberg/flowbite-react.git"
20-
},
2116
"license": "MIT",
22-
"main": "./lib/cjs/index.js",
23-
"module": "./lib/esm/index.js",
24-
"types": "./lib/esm/index.d.ts",
2517
"files": [
2618
"lib"
2719
],
20+
"main": "./lib/cjs/index.js",
21+
"module": "./lib/esm/index.js",
22+
"types": "./lib/esm/index.d.ts",
23+
"repository": {
24+
"type": "git",
25+
"url": "https://github.com/themesberg/flowbite-react"
26+
},
27+
"scripts": {
28+
"build": "next build",
29+
"build:lib": "rm -rf ./lib/ && yarn build:lib:esm && yarn build:lib:cjs",
30+
"build:lib:cjs": "tsc -p tsconfig.lib.json",
31+
"build:lib:esm": "tsc -p tsconfig.lib.json --module esnext --declaration --outDir ./lib/esm",
32+
"commit": "cz",
33+
"cypress:open": "cypress open",
34+
"cypress:run": "cypress run",
35+
"dev": "next dev",
36+
"lint": "eslint --color .",
37+
"prepublishOnly": "yarn build:lib",
38+
"prettier": "prettier --check .",
39+
"prettier:fix": "prettier --write .",
40+
"release": "standard-version -a",
41+
"start": "next start",
42+
"storybook": "storybook dev -p 3001",
43+
"storybook:build": "storybook build",
44+
"test": "vitest",
45+
"test:coverage": "vitest run --coverage",
46+
"test:open": "vitest --ui",
47+
"test:e2e": "start-test 3000 cypress:run",
48+
"test:e2e:open": "start-test 3000 cypress:open",
49+
"typecheck": "tsc --noEmit"
50+
},
51+
"config": {
52+
"commitizen": {
53+
"path": "./node_modules/cz-conventional-changelog"
54+
}
55+
},
2856
"dependencies": {
2957
"@floating-ui/react": "^0.26.2",
3058
"classnames": "^2.5.1",
59+
"contentlayer": "^0.3.4",
3160
"debounce": "^2.0.0",
3261
"flowbite": "^2.0.0",
3362
"react-icons": "^4.11.0",
3463
"tailwind-merge": "^2.0.0"
3564
},
65+
"devDependencies": {
66+
"@docsearch/react": "^3.5.2",
67+
"@storybook/addon-a11y": "^7.5.3",
68+
"@storybook/addon-actions": "^7.5.3",
69+
"@storybook/addon-docs": "^7.5.3",
70+
"@storybook/addon-essentials": "^7.5.3",
71+
"@storybook/addon-interactions": "^7.5.3",
72+
"@storybook/addon-links": "^7.5.3",
73+
"@storybook/addon-mdx-gfm": "^7.5.3",
74+
"@storybook/addon-postcss": "^2.0.0",
75+
"@storybook/addon-styling": "^1.3.7",
76+
"@storybook/addons": "^7.5.3",
77+
"@storybook/api": "^7.5.3",
78+
"@storybook/blocks": "^7.5.3",
79+
"@storybook/builder-vite": "^7.5.3",
80+
"@storybook/components": "^7.5.3",
81+
"@storybook/core-events": "^7.5.3",
82+
"@storybook/nextjs": "^7.5.3",
83+
"@storybook/react": "^7.5.3",
84+
"@storybook/testing-library": "^0.2.2",
85+
"@storybook/theming": "^7.5.3",
86+
"@testing-library/dom": "^9.3.3",
87+
"@testing-library/jest-dom": "^6.1.4",
88+
"@testing-library/react": "^14.1.0",
89+
"@testing-library/user-event": "^14.5.1",
90+
"@types/node": "^20.9.0",
91+
"@types/prismjs": "^1.26.3",
92+
"@types/react": "^18.2.37",
93+
"@types/react-dom": "^18.2.15",
94+
"@types/react-syntax-highlighter": "^15.5.10",
95+
"@typescript-eslint/eslint-plugin": "^6.10.0",
96+
"@typescript-eslint/parser": "^6.10.0",
97+
"@vitejs/plugin-react": "^4.1.1",
98+
"@vitest/coverage-v8": "^0.34.6",
99+
"@vitest/ui": "^0.34.6",
100+
"autoprefixer": "^10.4.16",
101+
"axe-core": "^4.8.2",
102+
"commitizen": "^4.3.0",
103+
"cypress": "^13.4.0",
104+
"cypress-axe": "^1.5.0",
105+
"cz-conventional-changelog": "3.3.0",
106+
"eslint": "^8.53.0",
107+
"eslint-config-next": "^14.0.1",
108+
"eslint-plugin-jsx-a11y": "^6.8.0",
109+
"eslint-plugin-react": "^7.33.2",
110+
"eslint-plugin-react-hooks": "^4.6.0",
111+
"eslint-plugin-storybook": "^0.6.15",
112+
"fathom-client": "^3.6.0",
113+
"jsdom": "^22.1.0",
114+
"markdown-toc": "^1.2.0",
115+
"next": "^14.0.1",
116+
"next-contentlayer": "^0.3.4",
117+
"postcss": "^8.4.31",
118+
"prettier": "^3.0.3",
119+
"prettier-plugin-organize-imports": "^3.2.3",
120+
"prettier-plugin-tailwindcss": "^0.5.6",
121+
"prismjs": "^1.29.0",
122+
"react": "^18.2.0",
123+
"react-dom": "^18.2.0",
124+
"react-markdown": "^9.0.0",
125+
"rehype-autolink-headings": "^7.1.0",
126+
"rehype-prism-plus": "^1.6.3",
127+
"rehype-slug": "^6.0.0",
128+
"resize-observer-polyfill": "^1.5.1",
129+
"sharp": "^0.32.6",
130+
"standard-version": "^9.5.0",
131+
"start-server-and-test": "^2.0.2",
132+
"storybook": "^7.5.3",
133+
"storybook-dark-mode": "^3.0.1",
134+
"tailwindcss": "^3.3.5",
135+
"terser-webpack-plugin": "^5.3.9",
136+
"tsconfig-paths-webpack-plugin": "^4.1.0",
137+
"typescript": "^5.2.2",
138+
"vite": "^4.5.0",
139+
"vite-tsconfig-paths": "^4.2.1",
140+
"vitest": "^0.34.6"
141+
},
36142
"peerDependencies": {
37143
"react": "^18",
38144
"react-dom": "^18",
39145
"tailwindcss": "^3"
146+
},
147+
"resolutions": {
148+
"nwsapi": "^2.2.4"
149+
},
150+
"private": false,
151+
"eslintConfig": {
152+
"extends": [
153+
"eslint:recommended",
154+
"plugin:@typescript-eslint/recommended",
155+
"plugin:jsx-a11y/recommended",
156+
"plugin:react/recommended",
157+
"plugin:react-hooks/recommended",
158+
"plugin:storybook/recommended",
159+
"next"
160+
],
161+
"ignorePatterns": [
162+
"/build/",
163+
"/coverage/",
164+
"/docs/",
165+
"/lib/",
166+
"/postcss.config.js",
167+
"/tailwind.config.js"
168+
],
169+
"parser": "@typescript-eslint/parser",
170+
"parserOptions": {
171+
"ecmaFeatures": {
172+
"jsx": true
173+
},
174+
"project": [
175+
"./tsconfig.json",
176+
"./cypress/tsconfig.json"
177+
]
178+
},
179+
"plugins": [
180+
"@typescript-eslint",
181+
"jsx-a11y",
182+
"react",
183+
"react-hooks",
184+
"storybook"
185+
],
186+
"root": true,
187+
"rules": {
188+
"@typescript-eslint/consistent-type-imports": "warn",
189+
"@next/next/no-img-element": "off",
190+
"jsx-a11y/anchor-is-valid": "off",
191+
"react/no-unescaped-entities": "off"
192+
}
40193
}
41194
}

0 commit comments

Comments
 (0)