UNPKG

conventional-changelog-lint

Version:

Lint commit messages against a conventional-changelog preset and ruleset

183 lines (182 loc) 4.9 kB
{ "name": "conventional-changelog-lint", "version": "2.1.1", "description": "Lint commit messages against a conventional-changelog preset and ruleset", "main": "distribution/index.js", "files": [ "distribution" ], "bin": { "conventional-changelog-lint": "distribution/cli.js" }, "scripts": { "start": "npm run watch", "build": "cross-env BABEL_ENV=production babel source --out-dir distribution", "watch": "npm run build -- --watch", "commit": "git-cz", "commitmsg": "npm run build && node distribution/cli.js --edit", "changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased", "push": "git push && git push --tags && hub release create \"v$npm_package_version\" --message=\"v$npm_package_version\n$(conventional-changelog -p angular)\" && npm publish", "prepretest": "npm run lint", "pretest": "npm run deps", "test": "nyc ava -c=4", "lint": "xo", "deps": "npm run build && dependency-check . --missing && dependency-check . --extra --no-dev -i conventional-changelog-angular -i conventional-changelog-lint-config-angular", "commitlint": "node distribution/cli.js --from=HEAD~1", "preversion": "npm run build && npm test", "release": "npm version --no-git-tag-version $(conventional-recommended-bump -p angular)", "version": "npm run changelog && git add .", "postversion": "git commit -m \"chore(release): v$npm_package_version\n$(conventional-changelog -p angular)\" && git tag -a v$npm_package_version -m \"$(conventional-changelog -p angular)\"", "travis:lint:commits": "./scripts/lint:commits.sh" }, "ava": { "files": [ "source/**/*.test.js", "!distribution/**/*" ], "source": [ "source/**/*.js", "!distribution/**/*" ], "babel": "inherit", "require": [ "babel-register", "babel-polyfill" ] }, "babel": { "env": { "development": { "sourceMaps": "inline", "plugins": [ "add-module-exports", "istanbul", [ "transform-runtime", { "polyfill": false, "regenerator": true } ] ] }, "production": { "ignore": [ "**/*.test.js" ] } }, "presets": [ [ "env", { "targets": { "node": 4 } } ], "stage-0" ], "plugins": [ "add-module-exports", [ "transform-runtime", { "polyfill": false, "regenerator": true } ] ] }, "nyc": { "all": true, "sourceMap": false, "instrument": false, "include": [ "source/**/*.js" ] }, "xo": { "plugins": [ "flow-check" ], "rules": { "flow-check/check": "error" } }, "config": { "commitizen": { "path": "cz-conventional-changelog-lint" } }, "engines": { "node": ">=4" }, "repository": { "type": "git", "url": "https://github.com/marionebl/conventional-changelog-lint.git" }, "bugs": { "url": "https://github.com/marionebl/conventional-changelog-lint/issues" }, "homepage": "https://github.com/marionebl/conventional-changelog-lint#readme", "keywords": [ "conventional", "conventional-changelog", "log", "changelog", "lint", "check" ], "author": { "name": "Mario Nebl", "email": "hello@herebecode.com" }, "license": "MIT", "devDependencies": { "ansi-styles": "3.1.0", "ava": "0.18.2", "babel-cli": "6.18.0", "babel-plugin-add-module-exports": "0.2.1", "babel-plugin-istanbul": "4.1.3", "babel-plugin-transform-runtime": "6.23.0", "babel-polyfill": "6.20.0", "babel-preset-env": "1.2.1", "babel-preset-stage-0": "6.16.0", "babel-register": "6.24.1", "conventional-changelog-cli": "1.2.0", "conventional-recommended-bump": "0.3.0", "cross-env": "5.0.1", "cz-conventional-changelog-lint": "0.1.3", "denodeify": "1.2.1", "dependency-check": "2.7.0", "eslint-plugin-flow-check": "1.1.1", "execa": "0.6.3", "globby": "6.1.0", "has-ansi": "3.0.0", "nyc": "10.3.2", "path-exists": "3.0.0", "resolve-from": "3.0.0", "rimraf": "2.6.1", "xo": "0.18.2" }, "dependencies": { "babel-polyfill": "6.20.0", "babel-runtime": "6.23.0", "chalk": "1.1.3", "conventional-changelog-angular": "1.3.0", "conventional-changelog-lint-config-angular": "^1.0.0", "conventional-commits-parser": "1.3.0", "franc": "2.0.0", "get-stdin": "5.0.1", "git-raw-commits": "1.1.2", "git-toplevel": "1.1.1", "import-from": "^2.1.0", "lodash": "4.17.4", "meow": "3.7.0", "mz": "2.6.0", "pos": "0.4.2", "rc": "1.1.7", "semver": "^5.3.0" } }