@dinert/element-plus 1.0.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/README.md +36 -0
- package/package.json +86 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Vue3 components based on ElementPlus secondary encapsulation
|
|
2
|
+
|
|
3
|
+
## 技术栈
|
|
4
|
+
<a href="https://cn.vitejs.dev/">
|
|
5
|
+
<img src="https://img.shields.io/badge/vite-4.5.0-brightgreen" alt="vite">
|
|
6
|
+
<a href="https://unpkg.com/vue@3.3.8/dist/vue.global.js">
|
|
7
|
+
<img src="https://img.shields.io/badge/vue-3.3.8-brightgreen" alt="vue">
|
|
8
|
+
</a>
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://element-plus.org/zh-CN/">
|
|
11
|
+
<img src="https://img.shields.io/badge/ElementPlus-2.3.9-brightgreen" alt="ElementPlus">
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://lodash.com/docs/4.17.21">
|
|
14
|
+
<img src="https://img.shields.io/badge/lodash-4.17.21-brightgreen" alt="lodash">
|
|
15
|
+
</a>
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
#### Using npm:
|
|
20
|
+
```shell
|
|
21
|
+
$ npm i @dinert/element-plus lodash element-plus
|
|
22
|
+
$ yarn add @dinert/element-plus lodash element-plus
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
#### In a browser:
|
|
26
|
+
```html
|
|
27
|
+
|
|
28
|
+
<script src="https://unpkg.com/vue@3.3.8/dist/vue.global.js"></script>
|
|
29
|
+
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script>
|
|
30
|
+
|
|
31
|
+
<link rel="stylesheet" href="https://unpkg.com/element-plus/lib/theme-chalk/index.css">
|
|
32
|
+
<script src="https://unpkg.com/element-plus/lib/index.js"></script>
|
|
33
|
+
<script src="./dist/element-plus.umd.js"></script>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
#### In a Esm
|
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dinert/element-plus",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "基于vue3封装的element-plus包",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite",
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"prepare": "husky install"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"@dinert/element-plus",
|
|
12
|
+
"element-plus",
|
|
13
|
+
"@dinert"
|
|
14
|
+
],
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"es",
|
|
18
|
+
"lib"
|
|
19
|
+
],
|
|
20
|
+
"main": "lib/index.js",
|
|
21
|
+
"module": "es/packages/index.mjs",
|
|
22
|
+
"types": "es/src/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./es/src/index.d.ts",
|
|
26
|
+
"import": "./es/packages/index.mjs",
|
|
27
|
+
"require": "./lib/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./style": {
|
|
30
|
+
"import": "./es/style.css"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"author": "dinert",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/core": "^7.23.2",
|
|
37
|
+
"@babel/eslint-parser": "^7.22.15",
|
|
38
|
+
"@babel/eslint-plugin": "^7.22.10",
|
|
39
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
40
|
+
"@element-plus/icons-vue": "^2.1.0",
|
|
41
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
42
|
+
"@types/node": "^20.9.0",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
44
|
+
"@typescript-eslint/parser": "^6.10.0",
|
|
45
|
+
"@vitejs/plugin-vue": "^4.4.0",
|
|
46
|
+
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
47
|
+
"@vue/runtime-core": "^3.3.8",
|
|
48
|
+
"element-plus": "^2.4.2",
|
|
49
|
+
"eslint": "^8.53.0",
|
|
50
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
51
|
+
"husky": "^8.0.3",
|
|
52
|
+
"lint-staged": "12.5.0",
|
|
53
|
+
"lodash": "^4.17.21",
|
|
54
|
+
"postcss": "^8.4.31",
|
|
55
|
+
"postcss-html": "^1.5.0",
|
|
56
|
+
"postcss-scss": "^4.0.9",
|
|
57
|
+
"sass": "^1.69.5",
|
|
58
|
+
"stylelint": "^15.11.0",
|
|
59
|
+
"stylelint-config-recommended-vue": "^1.5.0",
|
|
60
|
+
"stylelint-config-standard": "^34.0.0",
|
|
61
|
+
"stylelint-order": "^6.0.3",
|
|
62
|
+
"stylelint-scss": "^5.3.1",
|
|
63
|
+
"typescript": "^5.2.2",
|
|
64
|
+
"validate-commit-msg": "^2.14.0",
|
|
65
|
+
"vite": "^4.5.0",
|
|
66
|
+
"vite-plugin-dts": "^3.6.3",
|
|
67
|
+
"vue": "^3.3.8",
|
|
68
|
+
"vue-eslint-parser": "^9.3.2"
|
|
69
|
+
},
|
|
70
|
+
"lint-staged": {
|
|
71
|
+
"*.{tsx, ts}": [
|
|
72
|
+
"eslint --fix",
|
|
73
|
+
"git add"
|
|
74
|
+
],
|
|
75
|
+
"*.{css,scss,sass}": [
|
|
76
|
+
"stylelint --fix",
|
|
77
|
+
"git add"
|
|
78
|
+
],
|
|
79
|
+
"*.{html,vue}": [
|
|
80
|
+
"eslint --fix",
|
|
81
|
+
"stylelint --fix",
|
|
82
|
+
"git add"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {}
|
|
86
|
+
}
|