From 58273c4b3dbf08e8b3114c22261d1adb67a202be Mon Sep 17 00:00:00 2001 From: Mupceet Date: Sun, 9 Feb 2020 12:39:57 +0800 Subject: [PATCH] chore: make project Commitizen-friendly --- .gitignore | 4 +++- README.md | 3 +++ package.json | 12 ++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index 5f0e23e18..2543443bb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ /captures .externalNativeBuild /release -/tmp \ No newline at end of file +/tmp +node_modules/ +package-lock.json diff --git a/README.md b/README.md index 1a035aaf5..ffe6dedd9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # legado + +[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) + ## 阅读3.0 书源规则 https://celeter.github.io/?tdsourcetag=s_pctim_aiomsg diff --git a/package.json b/package.json new file mode 100644 index 000000000..f834a918d --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "legado", + "version": "1.0.0", + "devDependencies": { + "cz-conventional-changelog": "^3.1.0" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } + } +}