xo
Version:
JavaScript/TypeScript linter (ESLint wrapper) with great defaults
114 lines (113 loc) • 2.35 kB
JSON
{
"name": "xo",
"version": "4.0.0",
"description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
"license": "MIT",
"repository": "xojs/xo",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"bin": "./dist/cli.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./eslint-adapter": {
"types": "./dist/lib/eslint-adapter.d.ts",
"default": "./dist/lib/eslint-adapter.js"
}
},
"sideEffects": false,
"engines": {
"node": ">=22"
},
"scripts": {
"build": "npm run clean && tsc",
"build:watch": "tsc --watch",
"clean": "rm -rf dist",
"lint": "node dist/cli.js",
"prepare": "npm run build && husky",
"release": "np",
"test": "npm run build && npm run lint && npm run test:setup && node --enable-source-maps --test \"dist/test/**/*.test.js\"",
"test:setup": "node scripts/setup-tests"
},
"files": [
"dist/lib/*.js",
"dist/lib/*.d.ts",
"dist/lib/rules/*.js",
"dist/lib/rules/*.d.ts",
"dist/*.js",
"dist/*.d.ts"
],
"keywords": [
"cli-app",
"cli",
"xo",
"xoxo",
"happy",
"happiness",
"code",
"quality",
"style",
"lint",
"linter",
"jshint",
"jslint",
"eslint",
"validate",
"code style",
"standard",
"strict",
"check",
"checker",
"verify",
"enforce",
"hint",
"simple",
"javascript",
"typescript"
],
"dependencies": {
"@sindresorhus/tsconfig": "^8.1.0",
"arrify": "^3.0.0",
"cosmiconfig": "^9.0.2",
"define-lazy-prop": "^3.0.0",
"eslint": "^10.6.0",
"eslint-config-xo": "^0.57.0",
"eslint-formatter-pretty": "^7.1.0",
"find-cache-directory": "^6.0.0",
"get-stdin": "^10.0.0",
"get-tsconfig": "^4.14.0",
"globby": "^16.2.1",
"jiti": "^2.7.0",
"meow": "^14.1.0",
"micromatch": "^4.0.8",
"open-editor": "^6.0.0",
"path-exists": "^5.0.0",
"prettier": "^3.9.4",
"type-fest": "^5.8.0",
"typescript": "^6.0.3"
},
"devDependencies": {
"@types/micromatch": "^4.0.10",
"@types/node": "^26.1.0",
"dedent": "^1.7.2",
"eslint-plugin-vue": "^10.9.2",
"execa": "^9.6.1",
"husky": "^9.1.7",
"np": "^11.2.2",
"temp-dir": "^3.0.0",
"xo": "file:."
},
"nyc": {
"reporter": [
"text",
"lcov"
]
}
}