index.js
function (done) {
      var p = clone(pkg);
      delete p.devDependencies;
      var content = JSON.stringify(p, null, 2);
      write_if_not_exists('package.json', content, done);
    }
function (done) {
      var p = clone(pkg);
      delete p.devDependencies;
      var content = JSON.stringify(p, null, 2);
      write_if_not_exists('package.json', content, done);
    }
function ( done ) { var p = clone ( pkg ) ; delete p . devDependencies ; var content = JSON . stringify ( p , null , 2 ) ; write_if_not_exists ( 'package.json' , content , done ) ; }
write package.json
write package . json