@unizap/uniui 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +94 -93
package/package.json CHANGED
@@ -1,99 +1,100 @@
1
1
  {
2
- "name": "@unizap/uniui",
3
- "version": "1.0.3",
4
- "description": "A UI component library for React",
5
- "type": "module",
6
- "files": [
7
- "dist"
8
- ],
9
- "types": "dist/index.d.ts",
10
- "main": "dist/unizap-ui.umd.cjs",
11
- "module": "dist/unizap-ui.js",
12
- "styles": "dist/unizap-ui.css",
13
- "exports": {
14
- ".": {
15
- "import": "./dist/unizap-ui.js",
16
- "require": "./dist/unizap-ui.umd.cjs",
17
- "types": "./dist/index.d.ts"
18
- },
19
- "./dist/unizap-ui.css": "./dist/unizap-ui.css"
2
+ "name": "@unizap/uniui",
3
+ "version": "1.0.4",
4
+ "description": "A UI component library for React",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "types": "dist/index.d.ts",
10
+ "main": "dist/uniui.umd.cjs",
11
+ "module": "dist/uniui.js",
12
+ "style": "dist/uniui.css",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/uniui.js",
17
+ "require": "./dist/uniui.umd.cjs",
18
+ "style": "./dist/uniui.css"
20
19
  },
21
- "scripts": {
22
- "dev": "vite",
23
- "build": "tsc -b && vite build",
24
- "lint": "eslint .",
25
- "preview": "vite preview",
26
- "storybook": "storybook dev -p 6006",
27
- "build-storybook": "storybook build",
28
- "prepare": "husky"
20
+ "./dist/uniui.css": "./dist/uniui.css"
21
+ },
22
+ "scripts": {
23
+ "dev": "vite",
24
+ "build:css": "node -e \"require('fs').mkdirSync('dist',{recursive:true})\" && unicss -o dist/uniui.css",
25
+ "build": "tsc -b && vite build && npm run build:css",
26
+ "lint": "eslint .",
27
+ "preview": "vite preview",
28
+ "storybook": "storybook dev -p 6006",
29
+ "build-storybook": "storybook build",
30
+ "prepare": "husky"
31
+ },
32
+ "lint-staged": {
33
+ "*.{ts,html,tsx}": [
34
+ "eslint --fix",
35
+ "prettier --write"
36
+ ]
37
+ },
38
+ "devDependencies": {
39
+ "@babel/runtime": "^7.28.2",
40
+ "@chromatic-com/storybook": "3",
41
+ "@eslint/js": "^9.21.0",
42
+ "@storybook/addon-essentials": "8.6.11",
43
+ "@storybook/addon-onboarding": "8.6.11",
44
+ "@storybook/blocks": "8.6.11",
45
+ "@storybook/experimental-addon-test": "8.6.11",
46
+ "@storybook/react": "8.6.11",
47
+ "@storybook/react-vite": "8.6.11",
48
+ "@storybook/test": "8.6.11",
49
+ "@types/cookie": "^1.0.0",
50
+ "@types/node": "^22.13.14",
51
+ "@types/react": "^19.0.12",
52
+ "@types/react-dom": "^19.0.4",
53
+ "@types/statuses": "^2.0.6",
54
+ "@vitejs/plugin-react": "^4.3.4",
55
+ "@vitest/browser": "^3.0.9",
56
+ "@vitest/coverage-v8": "^3.0.9",
57
+ "daisyui": "^5.0.11",
58
+ "eslint": "^9.21.0",
59
+ "eslint-plugin-react-hooks": "^5.1.0",
60
+ "eslint-plugin-react-refresh": "^0.4.19",
61
+ "eslint-plugin-storybook": "^0.12.0",
62
+ "globals": "^15.15.0",
63
+ "husky": "^9.1.7",
64
+ "lint-staged": "^15.5.0",
65
+ "playwright": "^1.51.1",
66
+ "prettier": "^3.5.3",
67
+ "react-router-dom": "^7.5.0",
68
+ "storybook": "8.6.11",
69
+ "typescript": "5.8.2",
70
+ "typescript-eslint": "^8.24.1",
71
+ "vite": "^6.2.0",
72
+ "vite-plugin-dts": "^4.5.3",
73
+ "vitest": "^3.0.9"
74
+ },
75
+ "peerDependencies": {
76
+ "react": ">=16.8.0",
77
+ "react-dom": ">=16.8.0"
78
+ },
79
+ "eslintConfig": {
80
+ "extends": [
81
+ "plugin:storybook/recommended"
82
+ ]
83
+ },
84
+ "dependencies": {
85
+ "@tanstack/react-table": "^8.21.2",
86
+ "@unizap/unicss": "^1.1.27",
87
+ "react-dropzone": "^14.3.8"
88
+ },
89
+ "overrides": {
90
+ "@rollup/plugin-babel": {
91
+ "rollup": "^4.0.0"
29
92
  },
30
- "lint-staged": {
31
- "*.{ts,html,tsx}": [
32
- "eslint --fix",
33
- "prettier --write"
34
- ]
93
+ "@rollup/plugin-replace": {
94
+ "rollup": "^4.0.0"
35
95
  },
36
- "devDependencies": {
37
- "@babel/runtime": "^7.28.2",
38
- "@chromatic-com/storybook": "3",
39
- "@eslint/js": "^9.21.0",
40
- "@storybook/addon-essentials": "8.6.11",
41
- "@storybook/addon-onboarding": "8.6.11",
42
- "@storybook/blocks": "8.6.11",
43
- "@storybook/experimental-addon-test": "8.6.11",
44
- "@storybook/react": "8.6.11",
45
- "@storybook/react-vite": "8.6.11",
46
- "@storybook/test": "8.6.11",
47
- "@tailwindcss/vite": "^4.0.17",
48
- "@types/cookie": "^1.0.0",
49
- "@types/node": "^22.13.14",
50
- "@types/react": "^19.0.12",
51
- "@types/react-dom": "^19.0.4",
52
- "@types/statuses": "^2.0.6",
53
- "@vitejs/plugin-react": "^4.3.4",
54
- "@vitest/browser": "^3.0.9",
55
- "@vitest/coverage-v8": "^3.0.9",
56
- "daisyui": "^5.0.11",
57
- "eslint": "^9.21.0",
58
- "eslint-plugin-react-hooks": "^5.1.0",
59
- "eslint-plugin-react-refresh": "^0.4.19",
60
- "eslint-plugin-storybook": "^0.12.0",
61
- "globals": "^15.15.0",
62
- "husky": "^9.1.7",
63
- "lint-staged": "^15.5.0",
64
- "playwright": "^1.51.1",
65
- "prettier": "^3.5.3",
66
- "react-router-dom": "^7.5.0",
67
- "storybook": "8.6.11",
68
- "typescript": "4.9.5",
69
- "typescript-eslint": "^8.24.1",
70
- "vite": "^6.2.0",
71
- "vite-plugin-dts": "^4.5.3",
72
- "vitest": "^3.0.9"
73
- },
74
- "peerDependencies": {
75
- "react": ">=16.8.0",
76
- "react-dom": ">=16.8.0"
77
- },
78
- "eslintConfig": {
79
- "extends": [
80
- "plugin:storybook/recommended"
81
- ]
82
- },
83
- "dependencies": {
84
- "@tanstack/react-table": "^8.21.2",
85
- "@unizap/unicss": "^1.1.27",
86
- "react-dropzone": "^14.3.8"
87
- },
88
- "overrides": {
89
- "@rollup/plugin-babel": {
90
- "rollup": "^4.0.0"
91
- },
92
- "@rollup/plugin-replace": {
93
- "rollup": "^4.0.0"
94
- },
95
- "react-scripts": {
96
- "typescript": "^4.0.0"
97
- }
96
+ "react-scripts": {
97
+ "typescript": "^4.0.0"
98
98
  }
99
+ }
99
100
  }