ember-cli-timecop
Advanced tools
Comparing version 0.2.1 to 1.0.0
14
index.js
/* jshint node: true */ | ||
'use strict'; | ||
var path = require('path'); | ||
module.exports = { | ||
name: 'ember-cli-timecop', | ||
treeFor: function(name) { | ||
if (name !== 'vendor') { return; } | ||
treeForVendor() { | ||
var path = require('path'); | ||
var Funnel = require('broccoli-funnel'); | ||
var timecopPath = path.dirname(require.resolve('timecop')); | ||
var baseTree = this.treeGenerator(timecopPath); | ||
var assetsPath = require('path').join('timecop', 'timecop.js'); | ||
return this.treeGenerator(require.resolve('timecop').replace(assetsPath, '')); | ||
return new Funnel(baseTree, { | ||
destDir: 'timecop' | ||
}); | ||
}, | ||
@@ -15,0 +17,0 @@ |
{ | ||
"name": "ember-cli-timecop", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"description": "The default blueprint for ember-cli addons.", | ||
@@ -23,2 +23,3 @@ "directories": { | ||
"broccoli-ember-hbs-template-compiler": "^1.6.1", | ||
"broccoli-funnel": "^1.0.1", | ||
"ember-cli": "0.1.5", | ||
@@ -25,0 +26,0 @@ "ember-cli-content-security-policy": "0.3.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
13284
161
1
14