@guiwzh/small-design 0.1.0 → 0.1.1

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": "@guiwzh/small-design",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A lightweight React component library",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -16,6 +16,16 @@
16
16
  "default": "./dist/index.cjs"
17
17
  }
18
18
  },
19
+ "./keepalive": {
20
+ "import": {
21
+ "types": "./dist/keepalive.d.mts",
22
+ "default": "./dist/keepalive.mjs"
23
+ },
24
+ "require": {
25
+ "types": "./dist/keepalive.d.ts",
26
+ "default": "./dist/keepalive.cjs"
27
+ }
28
+ },
19
29
  "./dist/index.css": "./dist/index.css"
20
30
  },
21
31
  "files": [
@@ -25,9 +35,7 @@
25
35
  "dist/**/*.css"
26
36
  ],
27
37
  "scripts": {
28
- "start": "react-scripts start",
29
38
  "build": "tsup && sass ./src/styles/index.scss ./dist/index.css --no-source-map",
30
- "test": "react-scripts test",
31
39
  "prepublishOnly": "npm run build"
32
40
  },
33
41
  "keywords": [
@@ -37,18 +45,14 @@
37
45
  "library",
38
46
  "typescript"
39
47
  ],
40
- "author": "guiwz",
48
+ "author": "guiwzh",
41
49
  "license": "MIT",
42
50
  "peerDependencies": {
43
51
  "react": ">=18.0.0",
44
52
  "react-dom": ">=18.0.0",
45
- "axios": ">=1.0.0",
46
53
  "react-router-dom": ">=6.0.0"
47
54
  },
48
55
  "peerDependenciesMeta": {
49
- "axios": {
50
- "optional": true
51
- },
52
56
  "react-router-dom": {
53
57
  "optional": true
54
58
  }
@@ -61,39 +65,14 @@
61
65
  "@fortawesome/react-fontawesome": "^0.2.2"
62
66
  },
63
67
  "devDependencies": {
64
- "@testing-library/jest-dom": "^5.17.0",
65
- "@testing-library/react": "^13.4.0",
66
- "@testing-library/user-event": "^13.5.0",
67
- "@types/jest": "^27.5.2",
68
- "@types/node": "^16.18.103",
69
68
  "@types/react": "^18.3.3",
70
69
  "@types/react-dom": "^18.3.0",
71
70
  "@types/react-transition-group": "^4.4.10",
72
- "axios": "^1.7.2",
73
71
  "react": "^18.3.1",
74
72
  "react-dom": "^18.3.1",
75
73
  "react-router-dom": "^6.26.2",
76
- "react-scripts": "5.0.1",
77
74
  "sass": "^1.77.8",
78
75
  "tsup": "^8.5.1",
79
76
  "typescript": "^4.9.5"
80
- },
81
- "eslintConfig": {
82
- "extends": [
83
- "react-app",
84
- "react-app/jest"
85
- ]
86
- },
87
- "browserslist": {
88
- "production": [
89
- ">0.2%",
90
- "not dead",
91
- "not op_mini all"
92
- ],
93
- "development": [
94
- "last 1 chrome version",
95
- "last 1 firefox version",
96
- "last 1 safari version"
97
- ]
98
77
  }
99
78
  }