UNPKG

pre-commit

Version:

Automatically install pre-commit hooks for your npm modules.

48 lines (47 loc) 1.22 kB
{ "name": "pre-commit", "version": "2.0.0", "description": "Automatically install pre-commit hooks for your npm modules.", "main": "index.js", "scripts": { "coverage": "nyc --reporter=lcov --reporter=text mocha test.js", "example-fail": "echo \"This is the example hook, I exit with 1\" && exit 1", "example-pass": "echo \"This is the example hook, I exit with 0\" && exit 0", "install": "node install.js", "test": "mocha test.js", "test-travis": "nyc --reporter=lcovonly mocha test.js", "uninstall": "node uninstall.js" }, "repository": { "type": "git", "url": "git://github.com/observing/pre-commit.git" }, "keywords": [ "git", "hooks", "npm", "pre-commit", "precommit", "run", "test", "development" ], "author": "Arnout Kazemier <opensource@observe.it>", "homepage": "https://github.com/observing/pre-commit", "license": "MIT", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "engines": { "node": ">=16.13.0" }, "dependencies": { "cross-spawn": "^7.0.5", "which": "^4.0.0" }, "devDependencies": { "assume": "^2.3.0", "mocha": "^10.4.0", "nyc": "^15.1.0" } }