Browse Source

更新readme

yixiongyu 2 years ago
parent
commit
72dd89acd0
3 changed files with 8 additions and 112 deletions
  1. 2 23
      README.md
  2. 4 87
      package-lock.json
  3. 2 2
      package.json

+ 2 - 23
README.md

@@ -1,24 +1,3 @@
-# codemirror-test
+# yaml-editor-demo
 
-## Project setup
-```
-npm install
-```
-
-### Compiles and hot-reloads for development
-```
-npm run serve
-```
-
-### Compiles and minifies for production
-```
-npm run build
-```
-
-### Lints and fixes files
-```
-npm run lint
-```
-
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
+注意codemirror使用版本5.x.x

+ 4 - 87
package-lock.json

@@ -1,11 +1,11 @@
 {
-    "name": "codemirror-test",
+    "name": "yaml-editor-demo",
     "version": "0.1.0",
     "lockfileVersion": 2,
     "requires": true,
     "packages": {
         "": {
-            "name": "codemirror-test",
+            "name": "yaml-editor-demo",
             "version": "0.1.0",
             "dependencies": {
                 "codemirror": "5.65.10",
@@ -7191,20 +7191,6 @@
             "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz",
             "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
         },
-        "node_modules/fsevents": {
-            "version": "2.3.2",
-            "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz",
-            "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
-            "dev": true,
-            "hasInstallScript": true,
-            "optional": true,
-            "os": [
-                "darwin"
-            ],
-            "engines": {
-                "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
-            }
-        },
         "node_modules/function-bind": {
             "version": "1.1.1",
             "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz",
@@ -14480,25 +14466,6 @@
                 "fsevents": "^1.2.7"
             }
         },
-        "node_modules/watchpack-chokidar2/node_modules/fsevents": {
-            "version": "1.2.13",
-            "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz",
-            "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
-            "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.",
-            "dev": true,
-            "hasInstallScript": true,
-            "optional": true,
-            "os": [
-                "darwin"
-            ],
-            "dependencies": {
-                "bindings": "^1.5.0",
-                "nan": "^2.12.1"
-            },
-            "engines": {
-                "node": ">= 4.0"
-            }
-        },
         "node_modules/watchpack-chokidar2/node_modules/is-binary-path": {
             "version": "1.0.1",
             "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-1.0.1.tgz",
@@ -14832,25 +14799,6 @@
                 "node": ">=6"
             }
         },
-        "node_modules/webpack-dev-server/node_modules/fsevents": {
-            "version": "1.2.13",
-            "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz",
-            "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
-            "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.",
-            "dev": true,
-            "hasInstallScript": true,
-            "optional": true,
-            "os": [
-                "darwin"
-            ],
-            "dependencies": {
-                "bindings": "^1.5.0",
-                "nan": "^2.12.1"
-            },
-            "engines": {
-                "node": ">= 4.0"
-            }
-        },
         "node_modules/webpack-dev-server/node_modules/http-proxy-middleware": {
             "version": "0.19.1",
             "resolved": "https://registry.npmmirror.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",
@@ -18221,8 +18169,7 @@
             "optional": true
         },
         "bindings": {
-            "version": "1.5.0",
-            "resolved": "https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz",
+            "version": "https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz",
             "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
             "dev": true,
             "optional": true,
@@ -21296,13 +21243,6 @@
             "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz",
             "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
         },
-        "fsevents": {
-            "version": "2.3.2",
-            "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz",
-            "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
-            "dev": true,
-            "optional": true
-        },
         "function-bind": {
             "version": "1.1.1",
             "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz",
@@ -23162,8 +23102,7 @@
             }
         },
         "nan": {
-            "version": "2.17.0",
-            "resolved": "https://registry.npmmirror.com/nan/-/nan-2.17.0.tgz",
+            "version": "https://registry.npmmirror.com/nan/-/nan-2.17.0.tgz",
             "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
             "dev": true,
             "optional": true
@@ -27370,17 +27309,6 @@
                         "upath": "^1.1.1"
                     }
                 },
-                "fsevents": {
-                    "version": "1.2.13",
-                    "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz",
-                    "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
-                    "dev": true,
-                    "optional": true,
-                    "requires": {
-                        "bindings": "^1.5.0",
-                        "nan": "^2.12.1"
-                    }
-                },
                 "is-binary-path": {
                     "version": "1.0.1",
                     "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-1.0.1.tgz",
@@ -27688,17 +27616,6 @@
                         "locate-path": "^3.0.0"
                     }
                 },
-                "fsevents": {
-                    "version": "1.2.13",
-                    "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz",
-                    "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
-                    "dev": true,
-                    "optional": true,
-                    "requires": {
-                        "bindings": "^1.5.0",
-                        "nan": "^2.12.1"
-                    }
-                },
                 "http-proxy-middleware": {
                     "version": "0.19.1",
                     "resolved": "https://registry.npmmirror.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",

+ 2 - 2
package.json

@@ -1,5 +1,5 @@
 {
-    "name": "codemirror-test",
+    "name": "yaml-editor-demo",
     "version": "0.1.0",
     "private": true,
     "scripts": {
@@ -42,4 +42,4 @@
         "last 2 versions",
         "not dead"
     ]
-}
+}