-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
84 lines (84 loc) · 1.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@prettier/plugin-xml",
"version": "3.4.1",
"description": "prettier plugin for XML",
"type": "module",
"main": "src/plugin.js",
"exports": {
".": {
"types": "./types/plugin.d.ts",
"default": "./src/plugin.js"
},
"./*": "./*"
},
"scripts": {
"lint": "eslint --cache .",
"prepare": "node bin/languages.js && husky install",
"print": "prettier --plugin=./src/plugin.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/prettier/plugin-xml.git"
},
"author": "Kevin Newton",
"license": "MIT",
"bugs": {
"url": "https://github.com/prettier/plugin-xml/issues"
},
"homepage": "https://github.com/prettier/plugin-xml#readme",
"dependencies": {
"@xml-tools/parser": "^1.0.11"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"devDependencies": {
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.0.6",
"jest": "^29.2.1",
"linguist-languages": "^7.21.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.0"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"jest": true,
"node": true
},
"rules": {
"no-unused-vars": "off"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
}
},
"eslintIgnore": [
"bin/languages.js",
"dist"
],
"jest": {
"testRegex": ".test.js$",
"transform": {}
},
"prettier": {
"embeddedLanguageFormatting": "auto",
"plugins": [
"./src/plugin.js"
],
"trailingComma": "none",
"xmlWhitespaceSensitivity": "ignore"
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"prettier --write"
]
}
}