UNPKG

stop-build

Version:

Exits with non-zero code if there are modified Git files

82 lines 1.99 kB
{ "name": "stop-build", "version": "1.1.0", "description": "Exits with non-zero code if there are modified Git files", "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", "bugs": "https://github.com/bahmutov/stop-build/issues", "config": { "pre-git": { "commit-msg": "simple", "pre-commit": [ "npm run pretest", "npm run deps", "npm run ban" ], "pre-push": [ "npm test", "npm run secure", "npm run license", "npm run ban -- --all", "npm run size" ], "post-commit": [], "post-merge": [] } }, "engines": { "node": ">=6" }, "files": [ "src/*.js", "!src/*-spec.js" ], "bin": { "stop-build": "src/index.js" }, "homepage": "https://github.com/bahmutov/stop-build#readme", "keywords": [ "build", "ci", "exit", "git", "utility" ], "license": "MIT", "main": "src/", "noScopeName": "stop-build", "publishConfig": { "registry": "http://registry.npmjs.org/" }, "repository": { "type": "git", "url": "https://github.com/bahmutov/stop-build.git" }, "scripts": { "ban": "ban", "deps": "deps-ok", "issues": "git-issues", "license": "license-checker --production --onlyunknown --csv", "lint": "standard --verbose --fix src/*.js", "pretest": "npm run lint", "secure": "nsp check", "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";", "test": "npm run unit", "unit": "mocha src/*-spec.js", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "devDependencies": { "ban-sensitive-files": "1.9.0", "deps-ok": "1.2.0", "git-issues": "1.3.1", "license-checker": "11.0.0", "mocha": "3.4.2", "nsp": "2.6.3", "pre-git": "3.10.0", "semantic-release": "^6.3.6", "standard": "10.0.2" }, "dependencies": { "ggit": "1.15.1", "pluralize": "5.0.0" } }