normalize-pkg
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -215,6 +215,9 @@ 'use strict'; | ||
} | ||
if (fs.existsSync(path.resolve('cli.js'))) { | ||
return true; | ||
} | ||
return null; | ||
var files = utils.glob.sync([ | ||
'cli.js', | ||
'generat*.js', | ||
'updatefile.js' | ||
]); | ||
return files.length > 0; | ||
} | ||
@@ -221,0 +224,0 @@ }, |
{ | ||
"name": "normalize-pkg", | ||
"description": "Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"homepage": "https://github.com/jonschlinkert/normalize-pkg/", | ||
@@ -29,3 +29,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"kind-of": "^3.0.2", | ||
"lazy-cache": "^0.2.4", | ||
"lazy-cache": "^1.0.2", | ||
"matched": "^0.3.2", | ||
@@ -36,3 +36,3 @@ "mixin-deep": "^1.1.3", | ||
"parse-github-url": "^0.2.1", | ||
"project-name": "^0.2.1", | ||
"project-name": "^0.2.3", | ||
"remote-origin-url": "^0.4.0", | ||
@@ -61,2 +61,3 @@ "set-value": "^0.3.1", | ||
"verb": { | ||
"plugins": ["gulp-format-md"], | ||
"related": { | ||
@@ -63,0 +64,0 @@ "list": [ |
@@ -1,2 +0,2 @@ | ||
# normalize-pkg [](http://badge.fury.io/js/normalize-pkg) | ||
# normalize-pkg [](https://www.npmjs.com/package/normalize-pkg) | ||
@@ -65,3 +65,3 @@ > Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs. | ||
* `value`: This can be any type of value. If it's a function, it will be called and passed the `key` and `value` currently defined for the property, and the entire `config` as the last argument. If it's any other value, that value will be used and will overwrite any existing value. If you only want to use a value if it's undefined, use `default` instead or a `value` function if conditional logic is required. | ||
* `default`: Set the default value to use when the property is undefined. Only necessary if `value` is not defined. | ||
+ `default`: Set the default value to use when the property is undefined. Only necessary if `value` is not defined. | ||
@@ -107,8 +107,8 @@ ## Options | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
* [github/jonschlinkert](https://github.com/jonschlinkert) | ||
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
## License | ||
Copyright © 2015 Jon Schlinkert | ||
Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert) | ||
Released under the MIT license. | ||
@@ -118,2 +118,2 @@ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 08, 2015._ | ||
_This file was generated by [verb](https://github.com/verbose/verb) on December 10, 2015._ |
18133
482
Updatedlazy-cache@^1.0.2
Updatedproject-name@^0.2.3