@pointcloud/pcloud-components 0.1.34 → 0.1.36
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/README.md +1 -0
- package/dist/esm/AspectRatio/index.js +10 -2
- package/dist/esm/CRUD/index.js +17 -7
- package/dist/esm/CRUD/index.less +14 -0
- package/dist/esm/CRUD/toolbar.d.ts +3 -1
- package/dist/esm/CRUD/toolbar.js +11 -1
- package/dist/esm/DInput/index.js +2 -1
- package/dist/esm/DUpload/helper.js +48 -48
- package/dist/esm/IPAddress/index.js +1 -1
- package/dist/esm/PictureCard/index.js +20 -12
- package/dist/esm/SignaturePad/index.js +10 -3
- package/dist/umd/pcloud-components.min.css +1 -1
- package/dist/umd/pcloud-components.min.js +1 -1
- package/package.json +14 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pointcloud/pcloud-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "pointcloud react 组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -37,7 +37,10 @@
|
|
|
37
37
|
"prepublishOnly": "father doctor && npm run lint && npm run build",
|
|
38
38
|
"prettier": "prettier -c --write \"{src,config,docs,scripts,.dumi/theme}/**\"",
|
|
39
39
|
"release": "dotenv -e .env -- release-it --ci",
|
|
40
|
-
"start": "npm run clean:tmp && npm run dev"
|
|
40
|
+
"start": "npm run clean:tmp && npm run dev",
|
|
41
|
+
"test": "jest",
|
|
42
|
+
"test:coverage": "jest --coverage",
|
|
43
|
+
"test:watch": "jest --watch"
|
|
41
44
|
},
|
|
42
45
|
"commitlint": {
|
|
43
46
|
"extends": [
|
|
@@ -78,6 +81,10 @@
|
|
|
78
81
|
"@commitlint/cli": "^17.1.2",
|
|
79
82
|
"@commitlint/config-conventional": "^17.1.0",
|
|
80
83
|
"@release-it/conventional-changelog": "^7.0.0",
|
|
84
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
85
|
+
"@testing-library/react": "^12.0.0",
|
|
86
|
+
"@testing-library/user-event": "^12.0.0",
|
|
87
|
+
"@types/jest": "^29.5.14",
|
|
81
88
|
"@types/react": "^17.0.2",
|
|
82
89
|
"@types/react-dom": "^17.0.2",
|
|
83
90
|
"@types/wordcloud": "^1.2.2",
|
|
@@ -88,6 +95,9 @@
|
|
|
88
95
|
"eslint": "^8.23.0",
|
|
89
96
|
"father": "4.6.8",
|
|
90
97
|
"husky": "^8.0.1",
|
|
98
|
+
"identity-obj-proxy": "^3.0.0",
|
|
99
|
+
"jest": "^29.7.0",
|
|
100
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
91
101
|
"lint-staged": "13.0.3",
|
|
92
102
|
"moment": "^2.30.1",
|
|
93
103
|
"prettier": "2.7.1",
|
|
@@ -96,7 +106,8 @@
|
|
|
96
106
|
"react": "^17.0.2",
|
|
97
107
|
"react-dom": "^17.0.2",
|
|
98
108
|
"release-it": "^16.1.2",
|
|
99
|
-
"stylelint": "^14.9.1"
|
|
109
|
+
"stylelint": "^14.9.1",
|
|
110
|
+
"ts-jest": "^29.4.6"
|
|
100
111
|
},
|
|
101
112
|
"peerDependencies": {
|
|
102
113
|
"@ant-design/icons": "^4.8.3",
|