simple-pre-commit
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "simple-pre-commit", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A simple, zero dependency tool for setting up git pre-commit hook for small projects", | ||
@@ -9,6 +9,4 @@ "author": "Mikhail Gorbunov <toplenboren@gmail.com> (toplenboren.gituhb.io)", | ||
"scripts": { | ||
"postinstall": "node ./postinstall.js", | ||
"lint": "eslint *.js", | ||
"test": "jest", | ||
"publish": "clean-publish" | ||
"publish": "clean-publish", | ||
"postinstall": "node ./postinstall.js" | ||
}, | ||
@@ -22,12 +20,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"homepage": "https://github.com/toplenboren/simple-pre-commit", | ||
"lint-staged": { | ||
"*.js": "eslint" | ||
}, | ||
"devDependencies": { | ||
"clean-publish": "^1.1.8", | ||
"eslint": "^7.19.0", | ||
"jest": "^26.6.3", | ||
"lint-staged": "^10.5.4" | ||
} | ||
"homepage": "https://github.com/toplenboren/simple-pre-commit" | ||
} |
@@ -41,3 +41,2 @@ const fs = require('fs') | ||
/** | ||
@@ -67,3 +66,2 @@ * Transforms the <project>/node_modules/simple-pre-commit to <project> | ||
/** | ||
@@ -93,3 +91,2 @@ * Checks the 'simple-pre-commit' in dependencies of the project | ||
/** | ||
@@ -124,3 +121,2 @@ * Gets user-set command either from sources | ||
/** | ||
@@ -140,3 +136,2 @@ * Creates or replaces an existing executable script in .git/hooks/pre-commit with provided command | ||
/** Reads package.json file, returns package.json content and path | ||
@@ -164,3 +159,2 @@ * @param {string} projectPath - a path to the project, defaults to process.cwd | ||
/** | ||
@@ -178,3 +172,2 @@ * Gets current command from package.json[simple-pre-commit] | ||
/** | ||
@@ -201,3 +194,2 @@ * Gets user-set command from simple-pre-commit.json | ||
module.exports = { | ||
@@ -204,0 +196,0 @@ checkSimplePreCommitInDependencies, |
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
0
10876
5