boilerplate
Advanced tools
+7
-3
@@ -176,7 +176,9 @@ 'use strict'; | ||
| define(scaffold, 'name', name); | ||
| scaffold.on('target', this.emit.bind(this, 'target')); | ||
| scaffold.on('files', this.emit.bind(this, 'files')); | ||
| scaffold.on('file', this.emit.bind(this, 'file')); | ||
| this.run(scaffold); | ||
| scaffold.addTargets(boilerplate); | ||
| scaffold.on('target', this.emit.bind(this, 'target')); | ||
| this.scaffolds[name] = scaffold; | ||
@@ -210,5 +212,7 @@ return scaffold; | ||
| target.on('files', this.emit.bind(this, 'files')); | ||
| target.on('file', this.emit.bind(this, 'file')); | ||
| utils.run(this, 'target', target); | ||
| target.addFiles(boilerplate); | ||
| this.targets[name] = target; | ||
@@ -215,0 +219,0 @@ return target; |
+1
-1
| { | ||
| "name": "boilerplate", | ||
| "description": "Tools and conventions for authoring and publishing boilerplates that can be generated by any build system or generator.", | ||
| "version": "0.5.0", | ||
| "version": "0.5.1", | ||
| "homepage": "https://github.com/jonschlinkert/boilerplate", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
8175
2.66%196
2.08%