2.5.4 • Published 16 days ago

knightts v2.5.4

Weekly downloads
-
License
ISC
Repository
-
Last release
16 days ago

node包发布流程

1、在架构工程下使用rollup打包,生成dist文件,导入此工程中; 2、使用"npm init -y"语句初始化package.json,并设置其中的包名、版本、描述等参数; 3、在npm官网注册账号,在新终端输入"npm login"。 如果登录时直接跳转到浏览器,则切换原镜像:"npm config set registry https://registry.npmjs.org"; 4、输入账号、密码、邮箱、验证码等参数,等待登陆成功; 5、发布"npm publish",此命令会直接将此工程中的包根据package.json的配置进行发布,等待发布成功;

node包卸载流程

1、"npm unpublish <包名> -force";

npm 相关指令

1、临时使用国内镜像 npm install node-sass --registry=http://registry.npm.taobao.org 2、永久改成国内镜像 npm config set registry https://registry.npm.taobao.org 3、查询当前使用的npm配置 npm config list 4、有时候使用国内镜像还是会出现下载超时的问题,可以通过清除缓存后再次尝试 npm cache clean --force

2.5.4

16 days ago

2.5.3

16 days ago

2.5.2

22 days ago

2.5.1

24 days ago

2.4.9

1 month ago

2.4.8

1 month ago

2.5.0

1 month ago

2.4.2

2 months ago

2.4.1

2 months ago

2.4.0

3 months ago

2.3.12

4 months ago

2.3.11

4 months ago

2.3.10

4 months ago

2.3.9

4 months ago

2.3.8

4 months ago

2.3.7

4 months ago

2.3.4

4 months ago

2.3.5

4 months ago

2.3.3

5 months ago

2.3.2

5 months ago