precommit-hook
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -14,2 +14,3 @@ var fs = require('fs'), | ||
if (existsSync(pcPath)) fs.unlinkSync(pcPath); | ||
if (!existsSync(path.dirname(pcPath))) fs.mkdirSync(path.dirname(pcPath)); | ||
console.log('Found .git directory, adding pre-commit hook'); | ||
@@ -16,0 +17,0 @@ var pcHook = fs.readFileSync(path.join(filePath, 'pre-commit')); |
@@ -5,3 +5,3 @@ { | ||
"description": "A useful pre-commit hook for git based projects that lints and runs npm test", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"homepage": "https://github.com/nathan-lafreniere/precommit-hook", | ||
@@ -15,4 +15,5 @@ "repository": { | ||
"dependencies": { | ||
"jshint": "~0.9.0" | ||
"jshint": "~0.9.0", | ||
"coffeelint": "~0.5.4" | ||
} | ||
} |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
9381
26
1
2
+ Addedcoffeelint@~0.5.4
+ Addedcoffee-script@1.12.7(transitive)
+ Addedcoffeelint@0.5.7(transitive)
+ Addedminimist@0.0.10(transitive)
+ Addedoptimist@0.6.1(transitive)
+ Addedwordwrap@0.0.3(transitive)