Skip to content

dnxbf321/up-to-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

up-to-date

检查并更新指定的第三方依赖

使用

首先,添加 up-to-date 到项目依赖

npm install @dnxbf321/up-to-date --save-dev

然后,在 package.json 同级的位置新建名为 .up-to-date.config.js 或者 .up-to-date.config.json 的文件。配置项参考 npm-check-updates

最后,修改 package.json scripts,示例:

{
  "name": "demo",
  "version": "1.0.0",
  "scripts": {
    "uptodate": "up-to-date"
  },
  "dependencies": {
    "jquery": "^2.1.4"
  }
}

About

make dependency up to date

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published