70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
|
{
|
||
|
"name": "@prettier/plugin-xml",
|
||
|
"version": "2.2.0",
|
||
|
"description": "prettier plugin for XML",
|
||
|
"main": "dist/plugin.js",
|
||
|
"scripts": {
|
||
|
"lint": "eslint --cache .",
|
||
|
"prepublishOnly": "tsc -p tsconfig.build.json",
|
||
|
"print": "prettier --plugin=.",
|
||
|
"test": "jest"
|
||
|
},
|
||
|
"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",
|
||
|
"prettier": ">=2.4.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/jest": "^27.5.1",
|
||
|
"@types/node": "^17.0.22",
|
||
|
"@types/prettier": "^2.3.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
||
|
"@typescript-eslint/parser": "^5.16.0",
|
||
|
"eslint": "^8.5.0",
|
||
|
"eslint-config-prettier": "^8.0.0",
|
||
|
"jest": "^28.1.0",
|
||
|
"ts-jest": "^28.0.2",
|
||
|
"ts-node": "^10.0.0",
|
||
|
"typescript": "^4.3.2"
|
||
|
},
|
||
|
"eslintConfig": {
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"prettier"
|
||
|
],
|
||
|
"env": {
|
||
|
"es6": true,
|
||
|
"jest": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"rules": {
|
||
|
"@typescript-eslint/no-explicit-any": "off",
|
||
|
"@typescript-eslint/no-non-null-assertion": "off"
|
||
|
}
|
||
|
},
|
||
|
"eslintIgnore": [
|
||
|
"dist"
|
||
|
],
|
||
|
"jest": {
|
||
|
"preset": "ts-jest",
|
||
|
"testRegex": ".test.ts$"
|
||
|
},
|
||
|
"prettier": {
|
||
|
"plugins": [
|
||
|
"."
|
||
|
],
|
||
|
"trailingComma": "none"
|
||
|
}
|
||
|
}
|