102 lines
2.4 KiB
JSON
102 lines
2.4 KiB
JSON
{
|
|
"name": "eslint-plugin-format",
|
|
"type": "module",
|
|
"version": "0.1.3",
|
|
"packageManager": "pnpm@9.14.4",
|
|
"description": "Format various languages with formatters in ESLint",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"license": "MIT",
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"homepage": "https://github.com/antfu/eslint-plugin-format#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/eslint-plugin-format.git"
|
|
},
|
|
"bugs": "https://github.com/antfu/eslint-plugin-format/issues",
|
|
"keywords": [
|
|
"eslint",
|
|
"eslint-plugin",
|
|
"formatters",
|
|
"prettier",
|
|
"dprint"
|
|
],
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./define-config-support": {
|
|
"types": "./dts/define-config-support.d.ts"
|
|
},
|
|
"./rule-options": {
|
|
"types": "./dts/rule-options.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"./dist/*",
|
|
"./dist/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dts",
|
|
"workers"
|
|
],
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "unbuild --stub",
|
|
"lint": "nr build && eslint .",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp && npm publish",
|
|
"start": "esno src/index.ts",
|
|
"test": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": "^8.40.0 || ^9.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@dprint/formatter": "^0.3.0",
|
|
"@dprint/markdown": "^0.17.8",
|
|
"@dprint/toml": "^0.6.3",
|
|
"eslint-formatting-reporter": "^0.0.0",
|
|
"eslint-parser-plain": "^0.1.0",
|
|
"prettier": "^3.4.1",
|
|
"synckit": "^0.9.2"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^3.11.2",
|
|
"@antfu/ni": "^0.23.1",
|
|
"@antfu/utils": "^0.7.10",
|
|
"@types/eslint": "^9.6.1",
|
|
"@types/node": "^22.10.1",
|
|
"bumpp": "^9.8.1",
|
|
"eslint": "^9.16.0",
|
|
"eslint-plugin-format": "workspace:*",
|
|
"esno": "^4.8.0",
|
|
"lint-staged": "^15.2.10",
|
|
"pnpm": "^9.14.4",
|
|
"rimraf": "^6.0.1",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"typescript": "~5.6.3",
|
|
"unbuild": "^2.0.0",
|
|
"vite": "^6.0.1",
|
|
"vitest": "^2.1.6"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|