|
| 1 | +{ |
| 2 | + "name": "conventional-changelog-lint", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "Lint commit messages against a conventional-changelog preset", |
| 5 | + "main": "distribution/index.js", |
| 6 | + "bin": { |
| 7 | + "conventional-changelog-lint": "distribution/cli.js" |
| 8 | + }, |
| 9 | + "scripts": { |
| 10 | + "build": "babel source --out-dir distribution", |
| 11 | + "watch": "npm run build -- --watch", |
| 12 | + "commit": "git-cz", |
| 13 | + "changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased", |
| 14 | + "push": "git push && git push --tags && hub release create \"v$(cat .git/RELEASE_VERSION.tmp)\" --message=\"v$(cat .git/RELEASE_VERSION.tmp)\n$(cat .git/COMMITMSG.tmp)\" && npm publish && rm .git/RELEASE_VERSION.tmp && rm .git/COMMITMSG.tmp", |
| 15 | + "release": "npm version $(conventional-recommended-bump -p angular)", |
| 16 | + "test": "eslint *.js && jsonlint-cli *.json && node distribution/cli.js", |
| 17 | + "preversion": "npm test", |
| 18 | + "version": "npm run changelog && git add . && echo \"$(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp", |
| 19 | + "postversion": "echo $(git log -1 --pretty=%B HEAD^..HEAD) > .git/RELEASE_VERSION.tmp && git tag -d v$(cat .git/RELEASE_VERSION.tmp) && git commit --amend -m \"chore(release): $(cat .git/RELEASE_VERSION.tmp)\n$(cat .git/COMMITMSG.tmp)\" && git tag -a v$(cat .git/RELEASE_VERSION.tmp) -m \"$(cat .git/COMMITMSG.tmp)\"" |
| 20 | + }, |
| 21 | + "repository": { |
| 22 | + "type": "git", |
| 23 | + "url": "git+https://github.com/marionebl/conventional-changelog-lint.git" |
| 24 | + }, |
| 25 | + "bugs": { |
| 26 | + "url": "https://github.com/marionebl/conventional-changelog-lint/issues" |
| 27 | + }, |
| 28 | + "homepage": "https://github.com/marionebl/conventional-changelog-lint#readme", |
| 29 | + "keywords": [ |
| 30 | + "conventional", |
| 31 | + "conventional-changelog", |
| 32 | + "log", |
| 33 | + "changelog", |
| 34 | + "lint", |
| 35 | + "check" |
| 36 | + ], |
| 37 | + "author": { |
| 38 | + "name": "Mario Nebl", |
| 39 | + |
| 40 | + }, |
| 41 | + "license": "MIT", |
| 42 | + "devDependencies": { |
| 43 | + "babel": "6.5.1", |
| 44 | + "babel-cli": "6.4.0", |
| 45 | + "babel-plugin-add-module-exports": "0.1.2", |
| 46 | + "babel-polyfill": "6.3.14", |
| 47 | + "babel-preset-es2015-node4": "2.0.3", |
| 48 | + "babel-preset-stage-0": "6.5.0", |
| 49 | + "commitizen": "2.5.0", |
| 50 | + "conventional-changelog-cli": "1.0.0", |
| 51 | + "conventional-recommended-bump": "0.1.0", |
| 52 | + "eslint": "1.10.3", |
| 53 | + "eslint-config-xo": "0.9.2", |
| 54 | + "jsonlint-cli": "0.2.7" |
| 55 | + }, |
| 56 | + "dependencies": { |
| 57 | + "chalk": "1.1.1", |
| 58 | + "conventional-changelog-angular": "1.0.0", |
| 59 | + "conventional-commits-parser": "1.0.1", |
| 60 | + "franc": "1.1.2", |
| 61 | + "get-stdin": "5.0.1", |
| 62 | + "git-raw-commits": "1.0.0", |
| 63 | + "lodash.merge": "4.1.0", |
| 64 | + "lodash.pick": "4.0.1", |
| 65 | + "meow": "3.7.0" |
| 66 | + } |
| 67 | +} |
0 commit comments