mirror of
https://github.com/danbulant/bpm
synced 2026-05-24 12:21:50 +00:00
Update parser.js
This commit is contained in:
parent
e83f033c82
commit
559252afcd
1 changed files with 4 additions and 2 deletions
|
|
@ -40,13 +40,15 @@ module.exports = class PackageParser {
|
||||||
|
|
||||||
Object.assign(deps, this.getDependencies());
|
Object.assign(deps, this.getDependencies());
|
||||||
if(dev){
|
if(dev){
|
||||||
Object.assign(deps, this.getDependencies(true));
|
Object.assign(deps, this.getDependencies(true));//merge devDependencies & dependencies
|
||||||
}
|
}
|
||||||
|
|
||||||
for(var peer in this.getPeerDependencies()){
|
for(var peer in this.getPeerDependencies()){
|
||||||
console.warn("Peer dependency found. Install peer dependencies yourself: " + peer);
|
console.warn("Peer dependency found. Install peer dependencies yourself: " + peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.time("installation time");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue