Skip to content

Commit 0503cec

Browse files
committed
chore(package.json): organize file by spec on npmjs.com
1 parent 2bb3a76 commit 0503cec

File tree

1 file changed

+39
-47
lines changed

1 file changed

+39
-47
lines changed

package.json

Lines changed: 39 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
22
"name": "flowbite-react",
33
"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+
],
420
"main": "./lib/cjs/index.js",
521
"module": "./lib/esm/index.js",
622
"types": "./lib/esm/index.d.ts",
7-
"files": [
8-
"lib"
9-
],
10-
"author": {
11-
"name": "Nasreddine Bac Ali",
12-
"email": "[email protected]",
13-
"url": "https://github.com/bacali95"
14-
},
15-
"bugs": {
16-
"url": "https://github.com/themesberg/flowbite-react/issues"
17-
},
1823
"repository": {
19-
"url": "https://github.com/themesberg/flowbite-react",
20-
"type": "git"
24+
"type": "git",
25+
"url": "https://github.com/themesberg/flowbite-react"
2126
},
22-
"license": "MIT",
23-
"private": false,
24-
"homepage": "https://flowbite-react.com",
2527
"scripts": {
2628
"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",
2830
"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",
3133
"commit": "cz",
3234
"cypress:open": "cypress open",
3335
"cypress:run": "cypress run",
34-
"eject": "react-app-rewired eject",
3536
"lint": "eslint --color .",
36-
"lint:staged": "lint-staged --config lint-staged.js",
3737
"prettier": "prettier --check .",
3838
"prettier:fix": "prettier --write .",
3939
"prepare": "husky install",
@@ -47,18 +47,17 @@
4747
"test:e2e": "start-test 3000 cypress:run",
4848
"test:e2e:open": "start-test 3000 cypress:open"
4949
},
50+
"config": {
51+
"commitizen": {
52+
"path": "./node_modules/cz-conventional-changelog"
53+
}
54+
},
5055
"dependencies": {
5156
"@floating-ui/react": "^0.20.1",
5257
"classnames": "^2.3.2",
5358
"react-icons": "^4.7.1",
5459
"react-indiana-drag-scroll": "^2.2.0"
5560
},
56-
"peerDependencies": {
57-
"flowbite": "^1",
58-
"react": "^18",
59-
"react-dom": "^18",
60-
"tailwindcss": "^3"
61-
},
6261
"devDependencies": {
6362
"@babel/core": "^7.21.0",
6463
"@babel/plugin-syntax-flow": "^7.18.6",
@@ -132,6 +131,19 @@
132131
"vitest": "^0.29.2",
133132
"webpack": "^5.75.0"
134133
},
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,
135147
"browserslist": {
136148
"production": [
137149
">0.2%",
@@ -144,26 +156,6 @@
144156
"last 1 safari version"
145157
]
146158
},
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-
},
167159
"eslintConfig": {
168160
"extends": [
169161
"eslint:recommended",

0 commit comments

Comments
 (0)