-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
159 lines (159 loc) · 4.86 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "reablocks",
"version": "8.7.3",
"description": "Component library for React",
"scripts": {
"build": "npm run build:js && npm run build:styles && npm run rewrite:stories && npm run build:docs",
"build-storybook": "storybook build",
"build:js": "vite build --mode library",
"build:styles": "tailwindcss -i ./src/index.css -o ./dist/index.css",
"build:docs": "node scripts/docs.js",
"rewrite:stories": "node scripts/stories.cjs",
"lint": "eslint --ext js,ts,tsx",
"lint:fix": "eslint --ext js,ts,tsx --fix src",
"lint:prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"start": "storybook dev -p 9009",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"prepare": "husky install"
},
"type": "module",
"types": "dist/index.d.ts",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./dist/index.d.ts"
},
"./index.css": "./dist/index.css",
"./stories/*": "./dist/stories/*",
"./blocks/*": "./dist/blocks/*"
},
"browser": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reablocks.git"
},
"files": [
"dist"
],
"keywords": [
"react",
"reactjs",
"component library",
"ui components",
"tailwind",
"tailwind css",
"tailwind components",
"tailwind elements",
"tailwind library"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/reaviz/reablocks/issues"
},
"homepage": "https://github.com/reaviz/reablocks#readme",
"dependencies": {
"@floating-ui/react": "^0.26.16",
"@marko19907/string-to-color": "^1.0.0",
"@reaviz/react-use-fuzzy": "^1.0.3",
"body-scroll-lock-upgrade": "^1.1.0",
"chroma-js": "^2.4.2",
"classnames": "^2.5.1",
"coverup": "^0.1.1",
"create-global-state-hook": "^0.0.2",
"ctrl-keys": "^1.0.3",
"date-fns": "^3.6.0",
"ellipsize": "^0.5.1",
"focus-trap-react": "^10.2.3",
"framer-motion": "^10.16.16",
"fuse.js": "^6.6.2",
"human-format": "^1.2.0",
"name-initials": "^0.1.3",
"pluralize": "^8.0.0",
"react-fast-compare": "^3.2.2",
"react-highlight-words": "^0.20.0",
"react-textarea-autosize": "^8.5.3",
"tailwind-merge": "^2.2.2"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@storybook/addon-docs": "^8.1.1",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-mdx-gfm": "^8.1.1",
"@storybook/addon-storysource": "^8.1.1",
"@storybook/addon-themes": "^8.1.1",
"@storybook/manager-api": "^8.1.1",
"@storybook/preview-api": "^8.1.1",
"@storybook/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@storybook/theming": "^8.1.1",
"@types/classnames": "^2.3.1",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.4.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-relative-import-paths": "^1.5.4",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.8.0",
"fast-glob": "^3.3.2",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.5.2",
"prettier": "^3.2.5",
"react": "^18.0.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.0.0",
"react-hook-form": "^7.51.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"storybook": "^8.1.1",
"tailwindcss": "^3.4.1",
"tw-colors": "^3.3.1",
"typescript": "^4.9.5",
"typescript-rewrite-paths": "^1.3.1",
"vite": "^5.2.2",
"vite-plugin-checker": "^0.6.4",
"vite-plugin-css-injected-by-js": "^3.5.0",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-static-copy": "^1.0.4",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.4.0"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"bracketSpacing": true,
"printWidth": 80
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"packageManager": "[email protected]+sha512.ee7b93e0c2bd11409c6424f92b866f31d3ea1bef5fbe47d3c7500cdc3c9668833d2e55681ad66df5b640c61fa9dc25d546efa54d76d7f8bf54b13614ac293631"
}