fly-el-form 0.0.1 → 0.0.3

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 (2) hide show
  1. package/README.md +28 -33
  2. package/package.json +84 -69
package/README.md CHANGED
@@ -1,33 +1,28 @@
1
- # Fly-El-Form
2
-
3
- json to form component
4
-
5
-
6
- ## Project Setup
7
-
8
- ```sh
9
- pnpm install
10
- ```
11
-
12
- ### Compile and Hot-Reload for Development
13
-
14
- ```sh
15
- pnpm dev
16
- ```
17
-
18
- ### Type-Check, Compile and Minify for Production
19
-
20
- ```sh
21
- pnpm build
22
- ```
23
-
24
-
25
- ```sh
26
- pnpm test:unit
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.1",
4
- "private": false,
5
- "author": "flycat",
6
- "type": "module",
7
- "main": "lib/my-vue-lib.umd.js",
8
- "module": "lib/my-vue-lib.es.js",
9
- "files": [
10
- "lib"
11
- ],
12
- "peerDependencies": {
13
- "@element-plus/icons-vue": "^2.3.1",
14
- "element-plus": "^2.8.8",
15
- "vue": "^3.0.0"
16
- },
17
- "scripts": {
18
- "dev": "vite",
19
- "build": "run-p type-check \"build-only {@}\" --",
20
- "build:lib": "vite build --config vite.lib.config.ts",
21
- "preview": "vite preview",
22
- "test:unit": "vitest",
23
- "build-only": "vite build",
24
- "type-check": "vue-tsc --build --force",
25
- "lint": "eslint . --fix",
26
- "format": "prettier --write src/",
27
- "docs:dev": "vitepress dev docs",
28
- "docs:build": "vitepress build docs",
29
- "docs:preview": "vitepress preview docs"
30
- },
31
- "dependencies": {
32
- "@element-plus/icons-vue": "^2.3.1",
33
- "@vueuse/core": "^11.3.0",
34
- "element-plus": "^2.8.8",
35
- "sass": "^1.81.0",
36
- "vue": "^3.5.12",
37
- "vue-router": "^4.4.5"
38
- },
39
- "devDependencies": {
40
- "@tsconfig/node22": "^22.0.0",
41
- "@types/jsdom": "^21.1.7",
42
- "@types/node": "^22.9.0",
43
- "@vitejs/plugin-vue": "^5.1.4",
44
- "@vitejs/plugin-vue-jsx": "^4.0.1",
45
- "@vitest/eslint-plugin": "1.1.7",
46
- "@vue/eslint-config-prettier": "^10.1.0",
47
- "@vue/eslint-config-typescript": "^14.1.3",
48
- "@vue/test-utils": "^2.4.6",
49
- "@vue/tsconfig": "^0.5.1",
50
- "eslint": "^9.14.0",
51
- "eslint-plugin-vue": "^9.30.0",
52
- "jsdom": "^25.0.1",
53
- "npm-run-all2": "^7.0.1",
54
- "prettier": "^3.3.3",
55
- "terser": "^5.36.0",
56
- "typescript": "~5.6.3",
57
- "vite": "^5.4.10",
58
- "vite-plugin-vue-devtools": "^7.5.4",
59
- "vitepress": "^1.5.0",
60
- "vitepress-theme-demoblock": "^3.0.7",
61
- "vitest": "^2.1.4",
62
- "vue-tsc": "^2.1.10"
63
- },
64
- "keywords": [
65
- "element",
66
- "elementPlus",
67
- "form",
68
- "vue"
69
- ]
1
+ {
2
+ "name": "fly-el-form",
3
+ "version": "0.0.3",
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/fly-el-form.umd.js",
9
+ "module": "lib/fly-el-form.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:dev": "vitepress dev 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
  }