broccoli-module-alchemist
Advanced tools
Comparing version 0.1.1 to 0.2.0
11
index.js
@@ -17,6 +17,15 @@ var fs = require('fs'); | ||
function findProjectPath() { | ||
var buildPath = findupSync('ember-cli-build.js', process.cwd()); | ||
if (!buildPath) { | ||
buildPath = findupSync('Brocfile.js'); | ||
} | ||
return path.dirname(buildPath); | ||
} | ||
module.exports = function(options) { | ||
options = options || {}; | ||
var projectPath = path.dirname(findupSync('ember-cli-build.js', process.cwd())); | ||
var projectPath = findProjectPath(); | ||
var projectName = getPackageName(projectPath); | ||
@@ -23,0 +32,0 @@ var srcPath = path.join(projectPath, 'src'); |
{ | ||
"name": "broccoli-module-alchemist", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Broccoli-based tool for transforming ES2015 and TypeScript into many different module formats, for Node.js and the browser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
11624
261