commitlint-plugin-function-rules 2.0.1-beta.2 → 2.0.1
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/README.md +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commitlint-plugin-function-rules",
|
|
3
|
-
"version": "2.0.1
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "commitlint plugin to define rules as functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commitlint",
|
|
@@ -29,16 +29,20 @@
|
|
|
29
29
|
"./dist/**/!(*.test).{js,d.ts,cjs}"
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
|
-
"prepare": "husky install .github/husky",
|
|
33
|
-
"lint": "npm run format:check && xo",
|
|
34
|
-
"lint:fix": "npm run format && xo --fix",
|
|
35
|
-
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
|
|
36
|
-
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
|
|
37
32
|
"build": "npm run build:esm && npm run build:cjs",
|
|
33
|
+
"build:cjs": "esbuild src/index.ts --bundle --target=ES2022 --platform=node --outfile=dist/index.cjs",
|
|
38
34
|
"build:esm": "tsc",
|
|
39
|
-
"
|
|
35
|
+
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
|
|
36
|
+
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
|
|
37
|
+
"lint": "npm run format:check && xo",
|
|
38
|
+
"lint:fix": "npm run format && xo --fix",
|
|
39
|
+
"prepare": "husky install .github/husky",
|
|
40
40
|
"test": "c8 ava"
|
|
41
41
|
},
|
|
42
|
+
"xo": {
|
|
43
|
+
"prettier": true,
|
|
44
|
+
"space": true
|
|
45
|
+
},
|
|
42
46
|
"prettier": {
|
|
43
47
|
"singleQuote": true,
|
|
44
48
|
"trailingComma": "all"
|
|
@@ -187,10 +191,6 @@
|
|
|
187
191
|
"text-summary"
|
|
188
192
|
]
|
|
189
193
|
},
|
|
190
|
-
"xo": {
|
|
191
|
-
"prettier": true,
|
|
192
|
-
"space": true
|
|
193
|
-
},
|
|
194
194
|
"devDependencies": {
|
|
195
195
|
"@ava/typescript": "4.0.0",
|
|
196
196
|
"@commitlint/cli": "17.6.5",
|