Skip to content

Commit 2905dba

Browse files
committed
add prettier to lint-staged config
1 parent 7d406ce commit 2905dba

File tree

1 file changed

+73
-70
lines changed

1 file changed

+73
-70
lines changed

package.json

Lines changed: 73 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,75 @@
11
{
2-
"name": "gulp-xml-validator",
3-
"version": "3.0.1",
4-
"description": "Gulp plugin to validate XML",
5-
"author": "Jan T. Sott",
6-
"license": "MIT",
7-
"type": "module",
8-
"exports": "./dist/index.js",
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/idleberg/gulp-xml-validator.git"
12-
},
13-
"keywords": [
14-
"gulp",
15-
"gulpplugin",
16-
"gulp-plugin",
17-
"linter",
18-
"validator",
19-
"xml",
20-
"xmldom"
21-
],
22-
"files": [
23-
"dist/",
24-
"LICENSE",
25-
"package.json",
26-
"README.md"
27-
],
28-
"engines": {
29-
"gulp": ">=2.3.0",
30-
"node": ">=18"
31-
},
32-
"dependencies": {
33-
"@xmldom/xmldom": "^0.8.10",
34-
"kleur": "^4.1.5",
35-
"plugin-error": "^2.0.1"
36-
},
37-
"devDependencies": {
38-
"@types/node": "^18.19.33",
39-
"@types/vinyl": "^2.0.12",
40-
"eslint": "^9.4.0",
41-
"eslint-plugin-jsonc": "^2.16.0",
42-
"eslint-plugin-unicorn": "^53.0.0",
43-
"gulp": "^4.0.2",
44-
"husky": "^9.0.11",
45-
"knip": "^5.17.3",
46-
"lint-staged": "^15.2.5",
47-
"npm-run-all2": "^6.2.0",
48-
"prettier": "^3.3.0",
49-
"tsm": "^2.3.0",
50-
"tsup": "^8.0.2",
51-
"typescript": "^5.4.5",
52-
"typescript-eslint": "^7.11.0",
53-
"uvu": "^0.5.6"
54-
},
55-
"peerDependencies": {
56-
"gulp": ">=4.0.2 || ^5"
57-
},
58-
"scripts": {
59-
"build": "tsup",
60-
"dev": "npm run build -- --watch",
61-
"lint:code": "eslint **/*.json **/*.ts --no-warn-ignored",
62-
"lint:deps": "knip --production",
63-
"lint": "npm-run-all --parallel lint:*",
64-
"prepack": "npm run build",
65-
"prepare": "husky",
66-
"test": "uvu -r tsm tests"
67-
},
68-
"lint-staged": {
69-
"*.(ts|json)": "eslint --cache --fix"
70-
},
71-
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0"
2+
"name": "gulp-xml-validator",
3+
"version": "3.0.1",
4+
"description": "Gulp plugin to validate XML",
5+
"author": "Jan T. Sott",
6+
"license": "MIT",
7+
"type": "module",
8+
"exports": "./dist/index.js",
9+
"repository": {
10+
"type": "git",
11+
"url": "git://github.com/idleberg/gulp-xml-validator.git"
12+
},
13+
"keywords": [
14+
"gulp",
15+
"gulpplugin",
16+
"gulp-plugin",
17+
"linter",
18+
"validator",
19+
"xml",
20+
"xmldom"
21+
],
22+
"files": [
23+
"dist/",
24+
"LICENSE",
25+
"package.json",
26+
"README.md"
27+
],
28+
"engines": {
29+
"gulp": ">=2.3.0",
30+
"node": ">=18"
31+
},
32+
"dependencies": {
33+
"@xmldom/xmldom": "^0.8.10",
34+
"kleur": "^4.1.5",
35+
"plugin-error": "^2.0.1"
36+
},
37+
"devDependencies": {
38+
"@types/node": "^18.19.33",
39+
"@types/vinyl": "^2.0.12",
40+
"eslint": "^9.4.0",
41+
"eslint-plugin-jsonc": "^2.16.0",
42+
"eslint-plugin-unicorn": "^53.0.0",
43+
"gulp": "^4.0.2",
44+
"husky": "^9.0.11",
45+
"knip": "^5.17.3",
46+
"lint-staged": "^15.2.5",
47+
"npm-run-all2": "^6.2.0",
48+
"prettier": "^3.3.0",
49+
"tsm": "^2.3.0",
50+
"tsup": "^8.0.2",
51+
"typescript": "^5.4.5",
52+
"typescript-eslint": "^7.11.0",
53+
"uvu": "^0.5.6"
54+
},
55+
"peerDependencies": {
56+
"gulp": ">=4.0.2 || ^5"
57+
},
58+
"scripts": {
59+
"build": "tsup",
60+
"dev": "npm run build -- --watch",
61+
"lint:code": "eslint **/*.json **/*.ts --no-warn-ignored",
62+
"lint:deps": "knip --production",
63+
"lint": "npm-run-all --parallel lint:*",
64+
"prepack": "npm run build",
65+
"prepare": "husky",
66+
"test": "uvu -r tsm tests"
67+
},
68+
"lint-staged": {
69+
"*.(ts|json)": [
70+
"eslint --cache --fix",
71+
"prettier --cache --write"
72+
]
73+
},
74+
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0"
7275
}

0 commit comments

Comments
 (0)