-
- Downloads
build(package): Use semantic-release
fixes #101
.releaserc.js
0 → 100644
... | @@ -7,6 +7,8 @@ | ... | @@ -7,6 +7,8 @@ |
"jsonschema2md": "./cli.js" | "jsonschema2md": "./cli.js" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"semantic-release": "semantic-release", | |||
"commit": "git-cz", | |||
"lint": "eslint .", | "lint": "eslint .", | ||
"lint-fix": "eslint . --fix", | "lint-fix": "eslint . --fix", | ||
"start": "node cli.js", | "start": "node cli.js", | ||
... | @@ -28,11 +30,19 @@ | ... | @@ -28,11 +30,19 @@ |
"winston": "^3.1.0" | "winston": "^3.1.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@semantic-release/changelog": "^3.0.2", | |||
"@semantic-release/git": "^7.0.8", | |||
"@semantic-release/github": "^5.2.10", | |||
"commitizen": "^3.0.7", | |||
"cz-conventional-changelog": "^2.1.0", | |||
"eslint": "^5.6.1", | "eslint": "^5.6.1", | ||
"ghooks": "^2.0.4", | |||
"istanbul": "^0.4.5", | "istanbul": "^0.4.5", | ||
"jasmine": "~3.3.0", | "jasmine": "~3.3.0", | ||
"jasmine-diff": "^0.1.3", | "jasmine-diff": "^0.1.3", | ||
"npm-snapshot": "^1.0.3" | "lint-staged": "^8.1.5", | ||
"npm-snapshot": "^1.0.3", | |||
"semantic-release": "^15.13.3" | |||
}, | }, | ||
"engines": { | "engines": { | ||
"node": ">= 6.0.0" | "node": ">= 6.0.0" | ||
... | @@ -45,5 +55,16 @@ | ... | @@ -45,5 +55,16 @@ |
"url": "https://github.com/adobe/jsonschema2md/issues" | "url": "https://github.com/adobe/jsonschema2md/issues" | ||
}, | }, | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
"author": "" | "author": "", | ||
"lint-staged": { | |||
"*.js": "eslint" | |||
}, | |||
"config": { | |||
"commitizen": { | |||
"path": "node_modules/cz-conventional-changelog" | |||
}, | |||
"ghooks": { | |||
"pre-commit": "npx lint-staged" | |||
} | |||
} | |||
} | } |
Please register or sign in to comment