wangzhengguang 2 днів тому
батько
коміт
419d6d7afd
4 змінених файлів з 6 додано та 5 видалено
  1. 1 0
      .gitignore
  2. 1 1
      bat/install.bat
  3. 1 1
      bat/publish.bat
  4. 3 3
      package.json

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 /node_modules
 /dist
 /package-lock.json
+/.idea

+ 1 - 1
bat/install.bat

@@ -1,5 +1,5 @@
 set current_path="%~dp0"
 cd %current_path%
 cd ..
-npm install -registry=http://wuzhixin.vip:4873 --force
+npm install -registry=https://npm.leanwo.com --force
 pause

+ 1 - 1
bat/publish.bat

@@ -1,5 +1,5 @@
 set current_path="%~dp0"
 cd %current_path%
 cd ..
-npm publish --registry http://wuzhixin.vip:4873/
+npm publish --registry https://npm.leanwo.com/
 pause

+ 3 - 3
package.json

@@ -4,10 +4,10 @@
   "version": "1.0.2-5",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
-    "ins": "npm install --registry=http://wuzhixin.vip:4873 -force",
+    "ins": "npm install --registry=https://npm.leanwo.com -force",
     "dev": "cross-env webpack serve --config ./webpack.dev.js",
     "build": "cross-env NODE_ENV=production webpack --mode=production --config ./webpack.prod.js --progress",
-    "pub": "npm publish --registry http://wuzhixin.vip:4873/"
+    "pub": "npm publish --registry https://npm.leanwo.com/"
   },
   "files": [
     "package.json",
@@ -69,6 +69,6 @@
   },
   "publishConfig": {
     "access": "public",
-    "registry": "http://wuzhixin.vip:4873/"
+    "registry": "https://npm.leanwo.com/"
   }
 }