fly-el-form 0.0.1 → 0.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.
- package/README.md +28 -33
- package/package.json +84 -69
package/README.md
CHANGED
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
# Fly-El-Form
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Lint with [ESLint](https://eslint.org/)
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
pnpm lint
|
|
33
|
-
```
|
|
1
|
+
# Fly-El-Form
|
|
2
|
+
element-plus的 JSON To Form 轻量化表单组件
|
|
3
|
+
|
|
4
|
+
doc文档: [https://mlzk.github.io/fly-el-form/](https://mlzk.github.io/fly-el-form/)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
|
|
11
|
+
npm install fly-el-form --save
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// main.js
|
|
19
|
+
// ...引入vue和iview之后
|
|
20
|
+
// 引入组件库
|
|
21
|
+
import FlyElForm from "fly-el-form";
|
|
22
|
+
import "fly-el-form/lib/style.css";
|
|
23
|
+
|
|
24
|
+
Vue.use(FlyElForm);
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
package/package.json
CHANGED
|
@@ -1,70 +1,85 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fly-el-form",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"author": "flycat",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"@
|
|
34
|
-
"element-plus": "^2.8.8",
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"vue"
|
|
69
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "fly-el-form",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"author": "flycat",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"description": "A Vue 3 library for building dynamic forms with Element Plus",
|
|
8
|
+
"main": "lib/my-vue-lib.umd.js",
|
|
9
|
+
"module": "lib/my-vue-lib.es.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"lib"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "hhttps://github.com/mlzk/fly-el-form.git"
|
|
17
|
+
},
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "hhttps://github.com/mlzk/fly-el-form/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "hhttps://github.com/mlzk/fly-el-form#readme",
|
|
22
|
+
"keywords": [
|
|
23
|
+
"element",
|
|
24
|
+
"elementPlus",
|
|
25
|
+
"form",
|
|
26
|
+
"vue"
|
|
27
|
+
],
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=16.0.0",
|
|
30
|
+
"npm": ">=8.0.0"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
34
|
+
"element-plus": "^2.8.8",
|
|
35
|
+
"vue": "^3.0.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"dev": "vite",
|
|
39
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
40
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
41
|
+
"docs:build": "npm run register:components && vitepress build docs --base /fly-el-form/",
|
|
42
|
+
"preview": "vite preview",
|
|
43
|
+
"test:unit": "vitest",
|
|
44
|
+
"build-only": "vite build",
|
|
45
|
+
"type-check": "vue-tsc --build --force",
|
|
46
|
+
"lint": "eslint . --fix",
|
|
47
|
+
"format": "prettier --write src/",
|
|
48
|
+
"docs:serve": "vitepress serve docs",
|
|
49
|
+
"register:components": "vitepress-rc",
|
|
50
|
+
"docs:preview": "vitepress preview docs"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
54
|
+
"@vueuse/core": "^11.3.0",
|
|
55
|
+
"element-plus": "^2.8.8",
|
|
56
|
+
"sass": "^1.81.0",
|
|
57
|
+
"vue": "^3.5.12",
|
|
58
|
+
"vue-router": "^4.4.5"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@tsconfig/node22": "^22.0.0",
|
|
62
|
+
"@types/jsdom": "^21.1.7",
|
|
63
|
+
"@types/node": "^22.9.0",
|
|
64
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
65
|
+
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
66
|
+
"@vitest/eslint-plugin": "1.1.7",
|
|
67
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
68
|
+
"@vue/eslint-config-typescript": "^14.1.3",
|
|
69
|
+
"@vue/test-utils": "^2.4.6",
|
|
70
|
+
"@vue/tsconfig": "^0.5.1",
|
|
71
|
+
"eslint": "^9.14.0",
|
|
72
|
+
"eslint-plugin-vue": "^9.30.0",
|
|
73
|
+
"jsdom": "^25.0.1",
|
|
74
|
+
"npm-run-all2": "^7.0.1",
|
|
75
|
+
"prettier": "^3.3.3",
|
|
76
|
+
"terser": "^5.36.0",
|
|
77
|
+
"typescript": "~5.6.3",
|
|
78
|
+
"vite": "^5.4.10",
|
|
79
|
+
"vite-plugin-vue-devtools": "^7.5.4",
|
|
80
|
+
"vitepress": "^1.5.0",
|
|
81
|
+
"vitepress-theme-demoblock": "^3.0.7",
|
|
82
|
+
"vitest": "^2.1.4",
|
|
83
|
+
"vue-tsc": "^2.1.10"
|
|
84
|
+
}
|
|
70
85
|
}
|