git-hooks-list 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +42 -19
- package/readme.md +16 -2
package/package.json
CHANGED
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-hooks-list",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "List of Git hooks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
7
7
|
"hooks",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"
|
|
10
|
+
"homepage": "https://github.com/fisker/git-hooks-list#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/fisker/git-hooks-list/issues"
|
|
13
|
+
},
|
|
14
|
+
"repository": "fisker/git-hooks-list",
|
|
15
|
+
"funding": "https://github.com/fisker/git-hooks-list?sponsor=1",
|
|
11
16
|
"license": "MIT",
|
|
12
17
|
"author": {
|
|
13
18
|
"name": "fisker Cheung",
|
|
14
19
|
"email": "lionkay@gmail.com",
|
|
15
20
|
"url": "https://www.fiskercheung.com/"
|
|
16
21
|
},
|
|
17
|
-
"files": [
|
|
18
|
-
"index.json"
|
|
19
|
-
],
|
|
20
22
|
"sideEffects": false,
|
|
21
23
|
"main": "index.json",
|
|
22
24
|
"jsdelivr": "index.json",
|
|
23
25
|
"unpkg": "index.json",
|
|
24
26
|
"browser": "index.json",
|
|
27
|
+
"files": [
|
|
28
|
+
"index.json"
|
|
29
|
+
],
|
|
25
30
|
"scripts": {
|
|
31
|
+
"clean": "run-p clean:*",
|
|
32
|
+
"clean:dist": "del-cli dist",
|
|
26
33
|
"dist": "run-p dist:*",
|
|
27
34
|
"dist:npm": "np --yolo --no-yarn",
|
|
28
35
|
"format": "run-p format:*",
|
|
@@ -36,7 +43,8 @@
|
|
|
36
43
|
"lint:package-json": "yarn run format:package-json --check",
|
|
37
44
|
"lint:prettier": "prettier \"**/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml}\" --check",
|
|
38
45
|
"release": "run-s lint test format dist",
|
|
39
|
-
"test": "
|
|
46
|
+
"test": "ava",
|
|
47
|
+
"test-coverage": "nyc yarn test",
|
|
40
48
|
"update": "node -r esm scripts/update.js"
|
|
41
49
|
},
|
|
42
50
|
"config": {
|
|
@@ -44,26 +52,41 @@
|
|
|
44
52
|
"path": "./node_modules/cz-conventional-changelog"
|
|
45
53
|
}
|
|
46
54
|
},
|
|
55
|
+
"ava": {
|
|
56
|
+
"require": [
|
|
57
|
+
"esm"
|
|
58
|
+
],
|
|
59
|
+
"verbose": true
|
|
60
|
+
},
|
|
61
|
+
"nyc": {
|
|
62
|
+
"reporter": [
|
|
63
|
+
"text",
|
|
64
|
+
"lcov"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
47
67
|
"devDependencies": {
|
|
48
|
-
"@commitlint/cli": "8.3.
|
|
49
|
-
"@fisker/commitlint-config": "1.1.
|
|
50
|
-
"@fisker/eslint-config": "1.6.
|
|
51
|
-
"@fisker/husky-config": "1.1.
|
|
52
|
-
"@fisker/lint-staged-config": "1.0.
|
|
53
|
-
"@fisker/prettier-config": "1.0.
|
|
68
|
+
"@commitlint/cli": "8.3.5",
|
|
69
|
+
"@fisker/commitlint-config": "1.1.7",
|
|
70
|
+
"@fisker/eslint-config": "1.6.6",
|
|
71
|
+
"@fisker/husky-config": "1.1.9",
|
|
72
|
+
"@fisker/lint-staged-config": "1.0.11",
|
|
73
|
+
"@fisker/prettier-config": "1.0.28",
|
|
74
|
+
"ava": "3.3.0",
|
|
54
75
|
"cheerio": "1.0.0-rc.3",
|
|
55
|
-
"cz-conventional-changelog": "3.0
|
|
76
|
+
"cz-conventional-changelog": "3.1.0",
|
|
77
|
+
"del-cli": "3.0.0",
|
|
56
78
|
"eslint": "6.8.0",
|
|
57
79
|
"eslint-config-fisker": "4.5.0",
|
|
58
80
|
"esm": "3.2.25",
|
|
59
|
-
"got": "10.
|
|
60
|
-
"husky": "4.
|
|
61
|
-
"lint-staged": "
|
|
62
|
-
"markdownlint-cli": "0.
|
|
81
|
+
"got": "10.5.7",
|
|
82
|
+
"husky": "4.2.3",
|
|
83
|
+
"lint-staged": "10.0.7",
|
|
84
|
+
"markdownlint-cli": "0.22.0",
|
|
63
85
|
"npm-run-all": "4.1.5",
|
|
86
|
+
"nyc": "15.0.0",
|
|
64
87
|
"prettier": "1.19.1",
|
|
65
|
-
"sort-package-json": "1.
|
|
66
|
-
"write-prettier-file": "1.2.
|
|
88
|
+
"sort-package-json": "1.40.0",
|
|
89
|
+
"write-prettier-file": "1.2.6"
|
|
67
90
|
},
|
|
68
91
|
"publishConfig": {
|
|
69
92
|
"access": "public",
|
package/readme.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# git-hooks-list
|
|
2
2
|
|
|
3
|
+
[![Build Status][github_actions_badge]][github_actions_link]
|
|
4
|
+
[![Coverage][coveralls_badge]][coveralls_link]
|
|
5
|
+
[![Npm Version][package_version_badge]][package_link]
|
|
6
|
+
[![MIT License][license_badge]][license_link]
|
|
7
|
+
|
|
8
|
+
[github_actions_badge]: https://img.shields.io/github/workflow/status/fisker/git-hooks-list/CI/master?style=flat-square
|
|
9
|
+
[github_actions_link]: https://github.com/fisker/git-hooks-list/actions?query=branch%3Amaster
|
|
10
|
+
[coveralls_badge]: https://img.shields.io/coveralls/github/fisker/git-hooks-list/master?style=flat-square
|
|
11
|
+
[coveralls_link]: https://coveralls.io/github/fisker/git-hooks-list?branch=master
|
|
12
|
+
[license_badge]: https://img.shields.io/npm/l/git-hooks-list.svg?style=flat-square
|
|
13
|
+
[license_link]: https://github.com/fisker/git-hooks-list/blob/master/license
|
|
14
|
+
[package_version_badge]: https://img.shields.io/npm/v/git-hooks-list.svg?style=flat-square
|
|
15
|
+
[package_link]: https://www.npmjs.com/package/git-hooks-list
|
|
16
|
+
|
|
3
17
|
> List of Git hooks
|
|
4
18
|
|
|
5
19
|
Data from [Git - githooks Documentation](https://git-scm.com/docs/githooks)
|
|
@@ -11,13 +25,13 @@ yarn add git-hooks-list
|
|
|
11
25
|
|
|
12
26
|
# OR with npm
|
|
13
27
|
|
|
14
|
-
npm install git-hooks-list
|
|
28
|
+
npm install --save git-hooks-list
|
|
15
29
|
```
|
|
16
30
|
|
|
17
31
|
## Usage
|
|
18
32
|
|
|
19
33
|
```js
|
|
20
|
-
|
|
34
|
+
import gitHooks from 'git-hooks-list'
|
|
21
35
|
|
|
22
36
|
console.log(gitHooks)
|
|
23
37
|
|