node-tutorial icon indicating copy to clipboard operation
node-tutorial copied to clipboard

npm install wsscats

Open Wscats opened this issue 9 years ago • 0 comments

package信息

在npm上传了一个模块,用angular+weui+nodejs写的一个新闻DEMO

{
  "name": "wsscats",
  "version": "1.0.0",
  "description": "angular and weui and node server",
  "main": "http.js",
  "scripts": {
    "test": "node http.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/Wscats"
  },
  "keywords": [
    "node",
    "weui",
    "angular"
  ],
  "author": {
    "name": "wscats"
  },
  "license": "ISC",
  "readme": "ERROR: No README data found!",
  "_id": "[email protected]",
  "_shasum": "f65cbb62ed57b04e06df22302ebfce7b1c9c1b54",
  "_from": "wsscats@latest"
}

wsscats模块

安装wsscats模块 npm install wsscats 定位到模块所在目录 cd node_modules/wsscats 运行代码 npm run test

添加查找我是谁

image

npm adduser
npm whoami
npm publish

上传模块

如果之前设置过cnpm,那就要改回来

npm config set registry http://registry.npmjs.org

Wscats avatar Nov 04 '16 15:11 Wscats