UNPKG

@fastify/pre-commit

Version:

Automatically install pre-commit hooks for your npm modules.

50 lines (49 loc) 1.21 kB
{ "name": "@fastify/pre-commit", "version": "2.2.0", "description": "Automatically install pre-commit hooks for your npm modules.", "main": "index.js", "type": "commonjs", "scripts": { "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", "unit": "c8 node --test", "lint": "standard", "test": "npm run unit", "uninstall": "node uninstall.js" }, "repository": { "type": "git", "url": "git://github.com/fastify/pre-commit.git" }, "keywords": [ "git", "hooks", "npm", "pre-commit", "precommit", "run", "test", "development" ], "contributors": [ { "name": "Arnout Kazemier", "email": "opensource@observe.it", "originalAuthor": true } ], "homepage": "https://github.com/fastify/pre-commit", "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "which": "^5.0.0" }, "devDependencies": { "c8": "^10.1.2", "pre-commit": "git+https://git@github.com/fastify/pre-commit.git", "proxyquire": "^2.1.3", "standard": "^17.1.0" } }