Comparing version 1.0.2 to 1.1.0
@@ -13,6 +13,11 @@ var cp = require('child_process') | ||
if (/^win/.test(process.platform)) { | ||
JSHINT += '.cmd' | ||
JSCS += '.cmd' | ||
} | ||
module.exports = function (dir) { | ||
find.file(/\.js$/, dir || process.cwd(), function (files) { | ||
files = files.filter(function (file) { | ||
return !/\/node_modules\/|\/.git\/|\.min.js$|\/bundle.js$/.test(file) | ||
return !/[\/\\]node_modules[\/\\]|[\/\\].git[\/\\]|\.min.js$|\/bundle.js$/.test(file) | ||
}) | ||
@@ -19,0 +24,0 @@ |
{ | ||
"name": "standard", | ||
"description": "JavaScript Standard Style", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"author": { | ||
@@ -48,4 +48,4 @@ "name": "Feross Aboukhadijeh", | ||
"scripts": { | ||
"test": "./bin/cmd.js" | ||
"test": "node ./bin/cmd.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
10569
81