Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tiapp-dir

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiapp-dir - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

license.md

4

lib/tiapp-dir.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc