125 lines
3.1 KiB
JSON
125 lines
3.1 KiB
JSON
{
|
|
"name": "eslint-plugin-command",
|
|
"type": "module",
|
|
"version": "2.1.0",
|
|
"packageManager": "pnpm@9.15.3",
|
|
"description": "Comment-as-command for one-off codemod with ESLint",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"license": "MIT",
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"homepage": "https://github.com/antfu/eslint-plugin-command#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/eslint-plugin-command.git"
|
|
},
|
|
"bugs": "https://github.com/antfu/eslint-plugin-command/issues",
|
|
"keywords": [
|
|
"eslint-plugin",
|
|
"codemod"
|
|
],
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./config": {
|
|
"types": "./dist/config.d.ts",
|
|
"import": "./dist/config.mjs",
|
|
"require": "./dist/config.cjs"
|
|
},
|
|
"./commands": {
|
|
"types": "./dist/commands.d.ts",
|
|
"import": "./dist/commands.mjs",
|
|
"require": "./dist/commands.cjs"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.ts",
|
|
"import": "./dist/types.mjs",
|
|
"require": "./dist/types.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"./dist/index.d.ts",
|
|
"./dist/*"
|
|
],
|
|
"./config": [
|
|
"./dist/config.d.ts"
|
|
],
|
|
"./commands": [
|
|
"./dist/commands.d.ts"
|
|
],
|
|
"./types": [
|
|
"./dist/types.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "unbuild --stub",
|
|
"lint": "unbuild && eslint .",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp && npm publish",
|
|
"start": "esno src/index.ts",
|
|
"test": "vitest",
|
|
"docs": "nr -C docs docs:dev",
|
|
"docs:build": "nr -C docs docs:build",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": "*"
|
|
},
|
|
"dependencies": {
|
|
"@es-joy/jsdoccomment": "^0.50.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^3.13.0",
|
|
"@antfu/ni": "^23.2.0",
|
|
"@antfu/utils": "^8.0.0",
|
|
"@eslint/config-inspector": "^0.7.1",
|
|
"@types/lodash.merge": "^4.6.9",
|
|
"@types/node": "^22.10.5",
|
|
"@types/semver": "^7.5.8",
|
|
"@typescript-eslint/rule-tester": "^8.19.1",
|
|
"@typescript-eslint/typescript-estree": "^8.19.1",
|
|
"@typescript-eslint/utils": "^8.19.1",
|
|
"@vitest/ui": "^2.1.8",
|
|
"bumpp": "^9.10.0",
|
|
"eslint": "^9.17.0",
|
|
"eslint-define-config": "^2.1.0",
|
|
"eslint-vitest-rule-tester": "^1.0.0",
|
|
"esno": "^4.8.0",
|
|
"fast-glob": "^3.3.3",
|
|
"lint-staged": "^15.3.0",
|
|
"lodash.merge": "4.6.2",
|
|
"pnpm": "^9.15.3",
|
|
"rimraf": "^6.0.1",
|
|
"semver": "^7.6.3",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.3",
|
|
"unbuild": "^3.2.0",
|
|
"vite": "^6.0.7",
|
|
"vitest": "^2.1.8"
|
|
},
|
|
"resolutions": {
|
|
"eslint-plugin-command": "workspace:*"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|