easy-component-ui 3.0.0 → 3.0.2

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 +9 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-component-ui",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "使用 WebComponent 编写的原生组件库",
5
5
  "main": "dist/components/index.js",
6
6
  "module": "dist/components/index.js",
@@ -22,7 +22,10 @@
22
22
  "lint:fix": "eslint . --ext .js --fix",
23
23
  "format": "prettier --write \"**/*.{js,json,scss,css,md}\"",
24
24
  "prepare": "husky install",
25
- "commit": "git add . && git-cz"
25
+ "commit": "git add . && git-cz",
26
+ "patch": "npm version patch && git push --follow-tags",
27
+ "minor": "npm version minor && git push --follow-tags",
28
+ "major": "npm version major && git push --follow-tags"
26
29
  },
27
30
  "repository": {
28
31
  "type": "git",
@@ -108,6 +111,9 @@
108
111
  },
109
112
  "exports": {
110
113
  ".": "./dist/components/index.js",
114
+ "./icon-assets": {
115
+ "import": "./dist/assets/icon.css"
116
+ },
111
117
  "./ea-alert": {
112
118
  "import": "./dist/components/ea-alert.js"
113
119
  },
@@ -292,4 +298,4 @@
292
298
  "import": "./dist/components/ea-tree.js"
293
299
  }
294
300
  }
295
- }
301
+ }