cos-design 3.0.2 → 3.1.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cos-design",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "A React component library built with Vite",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -36,7 +36,7 @@
36
36
  "vite",
37
37
  "typescript"
38
38
  ],
39
- "homepage": "https://github.com/jiaxiantao/cos-design#readme",
39
+ "homepage": "https://jiaxiantao.github.io/cos-design/",
40
40
  "bugs": {
41
41
  "url": "https://github.com/jiaxiantao/cos-design/issues"
42
42
  },
@@ -70,6 +70,7 @@
70
70
  "prettier": "^3.8.4",
71
71
  "react": "^19.2.7",
72
72
  "react-dom": "^19.2.7",
73
+ "react-live": "^4.1.8",
73
74
  "react-router": "^7.18.0",
74
75
  "react-router-dom": "^7.18.0",
75
76
  "stylelint": "^17.13.0",
@@ -98,6 +99,8 @@
98
99
  "dev": "vite",
99
100
  "build": "tsc -p tsconfig.build.json --noEmit && vite build --mode lib",
100
101
  "build:demo": "vite build",
102
+ "build:pages": "vite build --mode pages",
103
+ "extract-props": "node scripts/extract-component-props.mjs",
101
104
  "preview": "vite preview",
102
105
  "pub": "pnpm build && pnpm publish",
103
106
  "lint": "eslint \"src/**/*.{ts,tsx}\" && stylelint \"src/**/*.less\"",