grunt-dependency-check:检查您在代码中使用了哪些模块,然后确保它们在package.json中被列为依赖项,反之亦然

时间:2021-05-26 08:07:20
【文件属性】:
文件名称:grunt-dependency-check:检查您在代码中使用了哪些模块,然后确保它们在package.json中被列为依赖项,反之亦然
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-26 08:07:20
JavaScript 咕unt依赖性检查 使用代码中使用了哪些模块,然后确保将它们列为package.json中的依赖项,反之亦然 输出的问题应在dependency-check。 安装 $ npm install --save-dev grunt-dependency-check 用法 require ( 'load-grunt-tasks' ) ( grunt ) ; // npm install --save-dev load-grunt-tasks grunt . initConfig ( { dependencyCheck : { files : [ '**/*.js' ] , // same as --entry options : { package : '.' , // module folder path missing :
【文件预览】:
grunt-dependency-check-main
----.gitattributes(12B)
----.github()
--------workflows()
----gruntfile.js(462B)
----tasks()
--------dependency-check.js(1KB)
----license(1KB)
----fixture()
--------index.js(30B)
--------package.json(45B)
----.editorconfig(190B)
----.gitignore(13B)
----readme.md(1KB)
----package.json(907B)

网友评论