@@ -38,7 +38,7 @@ Please consider these guidelines when filing a pull request:
3838 _ What you added
3939 _ What you removed
4040
41- ## Coding Rules
41+ ### Coding Rules
4242
4343To keep the code base of commitlint neat and tidy the following rules apply to every change
4444
@@ -48,7 +48,7 @@ To keep the code base of commitlint neat and tidy the following rules apply to e
4848- Favor micro library over swiss army knives (rimraf, ncp vs. fs-extra)
4949- Be awesome
5050
51- ## Commit Rules
51+ ### Commit Rules
5252
5353To help everyone with understanding the commit history of commitlint the following commit rules are enforced.
5454To make your life easier commitlint is commitizen-friendly and provides the npm run-script ` commit ` .
@@ -61,17 +61,43 @@ To make your life easier commitlint is commitizen-friendly and provides the npm
6161- maximum of 100 characters
6262- message format of ` $type($scope): $message `
6363
64- ## Testing
64+ ### Environment setup
6565
66- From the project root directory, use the following commands to run the test suite
66+ This project uses ` yarn ` , so be sure that it is available in your shell environment.
67+
68+ After cloning the repo run
6769
6870``` sh
69- yarn clean
7071yarn install
72+ ```
73+
74+ ### Testing
75+
76+ From the project root directory, use the following commands to run the test suite
77+
78+ ``` sh
7179yarn build
7280yarn test
7381```
7482
83+ ### Documentation updates
84+
85+ Documentation uses ` vitepress ` .
86+ To run and edit the documentation locally run:
87+
88+ ``` sh
89+ yarn docs-dev
90+ ```
91+
92+ To have a preview of the deployed doc run:
93+
94+ ``` sh
95+ yarn docs-build
96+ yarn docs-serve
97+ ```
98+
99+ For more information refer to [ vitepress documentation] ( https://vitepress.dev ) .
100+
75101## Package dependency overview
76102
77103![ commitlint-dependencies] ( https://user-images.githubusercontent.com/4248851/58385093-34b79780-7feb-11e9-8f27-bffc4aca3eba.png )
0 commit comments