UNPKG

3.02 kBJSONView Raw
1{
2 "name": "conventional-changelog-lint",
3 "version": "0.1.9",
4 "description": "Lint commit messages against a conventional-changelog preset and ruleset",
5 "main": "distribution/index.js",
6 "files": [
7 "distribution"
8 ],
9 "bin": {
10 "conventional-changelog-lint": "distribution/cli.js"
11 },
12 "scripts": {
13 "start": "npm run watch",
14 "build": "babel source --out-dir distribution",
15 "watch": "npm run build -- --watch",
16 "commit": "git-cz",
17 "commitmsg": "node distribution/cli.js --edit",
18 "changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased",
19 "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",
20 "release": "npm version $(conventional-recommended-bump -p angular)",
21 "test": "eslint *.js && jsonlint-cli *.json && node distribution/cli.js --from=HEAD~1",
22 "preversion": "npm run build && npm test",
23 "version": "npm run changelog && git add . && echo \"$(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp",
24 "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)\""
25 },
26 "repository": {
27 "type": "git",
28 "url": "git+https://github.com/marionebl/conventional-changelog-lint.git"
29 },
30 "bugs": {
31 "url": "https://github.com/marionebl/conventional-changelog-lint/issues"
32 },
33 "homepage": "https://github.com/marionebl/conventional-changelog-lint#readme",
34 "keywords": [
35 "conventional",
36 "conventional-changelog",
37 "log",
38 "changelog",
39 "lint",
40 "check"
41 ],
42 "author": {
43 "name": "Mario Nebl",
44 "email": "hello@herebecode.com"
45 },
46 "license": "MIT",
47 "devDependencies": {
48 "babel": "6.5.1",
49 "babel-cli": "6.4.0",
50 "babel-plugin-add-module-exports": "0.1.2",
51 "babel-preset-es2015-node4": "2.0.3",
52 "babel-preset-stage-0": "6.5.0",
53 "commitizen": "2.5.0",
54 "conventional-changelog-cli": "1.0.0",
55 "conventional-recommended-bump": "0.1.0",
56 "cz-conventional-changelog": "1.1.5",
57 "eslint": "1.10.3",
58 "eslint-config-xo": "0.9.2",
59 "jsonlint-cli": "0.2.7"
60 },
61 "dependencies": {
62 "babel-polyfill": "6.3.14",
63 "chalk": "1.1.1",
64 "conventional-changelog-angular": "1.0.0",
65 "conventional-changelog-lint-config-angular": "^0.1.2",
66 "conventional-commits-parser": "1.0.1",
67 "denodeify": "1.2.1",
68 "franc": "1.1.2",
69 "get-stdin": "5.0.1",
70 "git-raw-commits": "1.0.0",
71 "lodash.merge": "4.1.0",
72 "lodash.pick": "4.0.1",
73 "meow": "3.7.0"
74 },
75 "config": {
76 "commitizen": {
77 "path": "./node_modules/cz-conventional-changelog"
78 }
79 }
80}