Browse Source

feat: change package name scope

zhangyuhan 3 years ago
parent
commit
0d428cfcc4
2 changed files with 10 additions and 3 deletions
  1. 4 1
      README.md
  2. 6 2
      package.json

+ 4 - 1
README.md

@@ -3,7 +3,10 @@
 ## Install
 
 ```shell
-yarn add download-remote-project-template
+# set register
+nrm use xxx
+# install
+yarn add @jianyu/dr-template
 ```
 
 ## Examples

+ 6 - 2
package.json

@@ -1,5 +1,5 @@
 {
-  "version": "0.1.0",
+  "version": "0.1.1",
   "license": "MIT",
   "main": "dist/index.js",
   "typings": "dist/index.d.ts",
@@ -35,8 +35,12 @@
     "tabWidth": 2,
     "spaceBeforeFunctionParen": true
   },
-  "name": "dr-template",
+  "name": "@jianyu/dr-template",
   "author": "zhangyuhan2016",
+  "repository": {
+    "type": "git",
+    "url": "http://192.168.3.207:20080/packages/download-remote-project-template"
+  },
   "module": "dist/dr-template.esm.js",
   "size-limit": [
     {