Comparing version 0.0.2 to 0.0.3
@@ -6,3 +6,3 @@ 'use strict'; | ||
module.exports = function (cwd) { | ||
return findUp('package.json', {cwd: cwd}).then(function (fp) { | ||
return findUp('tiapp.xml', {cwd: cwd}).then(function (fp) { | ||
return fp ? path.dirname(fp) : null; | ||
@@ -13,4 +13,4 @@ }); | ||
module.exports.sync = function (cwd) { | ||
var fp = findUp.sync('package.json', {cwd: cwd}); | ||
var fp = findUp.sync('tiapp.xml', {cwd: cwd}); | ||
return fp ? path.dirname(fp) : null; | ||
}; |
{ | ||
"name": "tiapp-dir", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Find the root directory of an appcelerator titanium project", | ||
"homepage": "git://github.com/mobilehero/tiapp-dir", | ||
"homepage": "git://github.com/brentonhouse/tiapp-dir", | ||
"bugs": { | ||
"url": "https://github.com/mobilehero/tiapp-dir/issues", | ||
"url": "https://github.com/brentonhouse/tiapp-dir/issues", | ||
"email": "info@mobilehero.me" | ||
@@ -12,15 +12,13 @@ }, | ||
"author": { | ||
"name": "Superhero Studios", | ||
"email": "info@mobilehero.me", | ||
"url": "https://github.com/mobilehero" | ||
"name": "Brenton House", | ||
"email": "brenton.house@gmail.com", | ||
"url": "https://github.com/brentonhouse" | ||
}, | ||
"main": "./lib/tiapp-dir.js", | ||
"scripts": { | ||
"test": "grunt test", | ||
"push": "grunt pretty && git add -A && git commit -am \":rocket: update\"", | ||
"postpush": "npm version patch && grunt pretty && git push --follow-tags" | ||
"test": "grunt test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/mobilehero/tiapp-dir.git" | ||
"url": "git://github.com/brentonhouse/tiapp-dir.git" | ||
}, | ||
@@ -27,0 +25,0 @@ "dependencies": { |
@@ -1,2 +0,2 @@ | ||
# tiapp-dir [![Build Status](https://travis-ci.org/mobilehero/tiapp-dir.svg?branch=master)](https://travis-ci.org/mobilehero/tiapp-dir) | ||
# tiapp-dir [![Build Status](https://travis-ci.org/brentonhouse/tiapp-dir.svg?branch=master)](https://travis-ci.org/brentonhouse/tiapp-dir) | ||
@@ -82,3 +82,3 @@ | ||
Copyright (c) 2015 Superhero Studios Incorporated | ||
Copyright (c) 2016 Superhero Studios Incorporated | ||
@@ -85,0 +85,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
0
1
8420
9