boilerplate
Advanced tools
+2
-18
@@ -212,22 +212,6 @@ 'use strict'; | ||
| } | ||
| if (!this.scaffolds.hasOwnProperty('default')) { | ||
| this.scaffolds.default = {targets: {}}; | ||
| this.addScaffold('default', {}); | ||
| } | ||
| var Target = this.get('Target'); | ||
| var target = new Target(this.options); | ||
| utils.define(target, 'name', name); | ||
| target.options = utils.merge({}, this.options, target.options, config.options); | ||
| target.define('parent', this); | ||
| this.emit('target', target); | ||
| emit('files', target, this); | ||
| emit('file', target, this); | ||
| util.run(this, 'target', target); | ||
| target.addFiles(config); | ||
| this.scaffolds.default.targets[name] = target; | ||
| return target; | ||
| return this.scaffolds.default.addTarget(name, config); | ||
| }; | ||
@@ -234,0 +218,0 @@ |
+1
-1
| { | ||
| "name": "boilerplate", | ||
| "description": "Tools and conventions for authoring and using declarative configurations for project \"boilerplates\" that can be consumed by any build system or project scaffolding tool.", | ||
| "version": "0.6.0", | ||
| "version": "0.6.1", | ||
| "homepage": "https://github.com/jonschlinkert/boilerplate", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
+1
-1
@@ -313,2 +313,2 @@ # boilerplate [](https://www.npmjs.com/package/boilerplate) [](https://npmjs.org/package/boilerplate) [](https://travis-ci.org/jonschlinkert/boilerplate) | ||
| _This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 18, 2016._ | ||
| _This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 19, 2016._ |
24165
-1.65%279
-3.79%