mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Shinobi CE officially lands on Gitlab
This commit is contained in:
commit
f1406d4eec
431 changed files with 118157 additions and 0 deletions
10
tools/checkNPM.js
Normal file
10
tools/checkNPM.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
var fs=require('fs');
|
||||
function npmls(cb) {
|
||||
require('child_process').exec('npm ls --json', function(err, stdout, stderr) {
|
||||
if (err) return cb(err)
|
||||
cb(null, JSON.stringify(JSON.parse(stdout),null,3));
|
||||
});
|
||||
}
|
||||
npmls(function(yolo,stdout){
|
||||
fs.writeFileSync(__dirname+'/npmls.json',stdout)
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue