git-hooks-list 3.0.0 → 3.2.0

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.
Files changed (2) hide show
  1. package/package.json +37 -44
  2. package/readme.md +5 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-hooks-list",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "List of Git hooks",
5
5
  "keywords": [
6
6
  "git",
@@ -22,8 +22,8 @@
22
22
  "sideEffects": false,
23
23
  "type": "module",
24
24
  "exports": {
25
- "import": "./index.js",
26
- "require": "./index.json"
25
+ "require": "./index.json",
26
+ "default": "./index.js"
27
27
  },
28
28
  "main": "index.json",
29
29
  "jsdelivr": "index.json",
@@ -34,62 +34,55 @@
34
34
  "index.js"
35
35
  ],
36
36
  "scripts": {
37
- "clean": "run-p clean:*",
37
+ "clean": "run-p \"clean:*\"",
38
38
  "clean:dist": "del-cli dist",
39
- "dist": "run-p dist:*",
39
+ "dist": "run-p \"dist:*\"",
40
40
  "dist:npm": "np --yolo --no-yarn",
41
- "format": "run-p format:*",
42
- "format:eslint": "yarn lint:eslint --fix",
43
- "format:markdown": "yarn lint:markdown --fix",
44
- "format:package-json": "sort-package-json \"package.json\" \"packages/*/package.json\"",
45
- "format:prettier": "yarn lint:prettier --write",
46
- "lint": "run-p lint:*",
47
- "lint:eslint": "eslint \"**/*.{js,mjs,vue}\"",
48
- "lint:markdown": "markdownlint \"**/*.md\" --ignore \"**/node_modules/**\"",
49
- "lint:package-json": "yarn run format:package-json --check",
50
- "lint:prettier": "prettier \"**/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml}\" --check",
51
- "release": "run-s lint test format dist",
41
+ "fix": "run-p \"fix:*\"",
42
+ "fix:eslint": "yarn lint:eslint --fix",
43
+ "fix:markdown": "markdownlint-cli2 --fix",
44
+ "fix:package-json": "sort-package-json \"package.json\" \"packages/*/package.json\"",
45
+ "fix:prettier": "yarn lint:prettier --write",
46
+ "lint": "run-p \"lint:*\"",
47
+ "lint:eslint": "eslint",
48
+ "lint:markdown": "markdownlint-cli2",
49
+ "lint:package-json": "yarn run fix:package-json --check",
50
+ "lint:prettier": "prettier . --check",
51
+ "prepare": "husky install",
52
+ "release": "run-s lint test fix dist",
52
53
  "test": "ava",
53
- "test-coverage": "nyc yarn test",
54
+ "test-coverage": "c8 yarn test",
54
55
  "update": "node scripts/update.js"
55
56
  },
56
- "config": {
57
- "commitizen": {
58
- "path": "./node_modules/cz-conventional-changelog"
59
- }
60
- },
61
57
  "ava": {
62
58
  "verbose": true
63
59
  },
64
- "nyc": {
60
+ "c8": {
65
61
  "reporter": [
66
62
  "text",
67
63
  "lcov"
68
64
  ]
69
65
  },
70
66
  "devDependencies": {
71
- "@commitlint/cli": "12.1.4",
72
- "@fisker/commitlint-config": "1.3.5",
73
- "@fisker/eslint-config": "6.0.2",
74
- "@fisker/husky-config": "4.0.5",
75
- "@fisker/lint-staged-config": "3.0.5",
76
- "@fisker/prettier-config": "4.0.5",
77
- "ava": "3.15.0",
78
- "cheerio": "1.0.0-rc.10",
79
- "cz-conventional-changelog": "3.3.0",
80
- "del-cli": "4.0.0",
81
- "eslint": "7.29.0",
82
- "esm-utils": "1.1.0",
83
- "got": "11.8.2",
84
- "husky": "6.0.0",
85
- "lint-staged": "11.0.0",
86
- "markdownlint-cli": "0.27.1",
87
- "npm-run-all": "4.1.5",
88
- "nyc": "15.1.0",
89
- "prettier": "2.3.2",
90
- "sort-package-json": "1.50.0",
91
- "write-prettier-file": "2.0.0"
67
+ "@fisker/eslint-config": "13.1.3",
68
+ "@fisker/husky-config": "4.1.3",
69
+ "@fisker/lint-staged-config": "3.3.2",
70
+ "@fisker/markdownlint-cli2-config": "0.0.3",
71
+ "@fisker/prettier-config": "5.1.1",
72
+ "ava": "6.2.0",
73
+ "c8": "10.1.3",
74
+ "cheerio": "1.0.0",
75
+ "del-cli": "6.0.0",
76
+ "eslint": "9.19.0",
77
+ "husky": "9.1.7",
78
+ "lint-staged": "15.4.3",
79
+ "markdownlint-cli2": "0.17.2",
80
+ "npm-run-all2": "7.0.2",
81
+ "prettier": "3.4.2",
82
+ "sort-package-json": "2.14.0",
83
+ "write-prettier-file": "3.0.3"
92
84
  },
85
+ "packageManager": "yarn@4.6.0",
93
86
  "publishConfig": {
94
87
  "access": "public",
95
88
  "registry": "https://registry.npmjs.org/"
package/readme.md CHANGED
@@ -5,12 +5,12 @@
5
5
  [![Npm Version][package_version_badge]][package_link]
6
6
  [![MIT License][license_badge]][license_link]
7
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
8
+ [github_actions_badge]: https://img.shields.io/github/actions/workflow/status/fisker/git-hooks-list/continuous-integration.yml?style=flat-square
9
+ [github_actions_link]: https://github.com/fisker/git-hooks-list/actions?query=branch%3Amain
10
+ [coveralls_badge]: https://img.shields.io/coveralls/github/fisker/git-hooks-list/main?style=flat-square
11
+ [coveralls_link]: https://coveralls.io/github/fisker/git-hooks-list?branch=main
12
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
13
+ [license_link]: https://github.com/fisker/git-hooks-list/blob/main/license
14
14
  [package_version_badge]: https://img.shields.io/npm/v/git-hooks-list.svg?style=flat-square
15
15
  [package_link]: https://www.npmjs.com/package/git-hooks-list
16
16
 
@@ -22,10 +22,6 @@ Data from [Git - githooks Documentation](https://git-scm.com/docs/githooks)
22
22
 
23
23
  ```bash
24
24
  yarn add git-hooks-list
25
-
26
- # OR with npm
27
-
28
- npm install --save git-hooks-list
29
25
  ```
30
26
 
31
27
  ## Usage