UNPKG

xo

Version:

JavaScript/TypeScript linter (ESLint wrapper) with great defaults

147 lines (146 loc) 3.25 kB
{ "name": "xo", "version": "1.1.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" }, "sideEffects": false, "engines": { "node": ">=20.17" }, "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 && ava", "test:setup": "node scripts/setup-tests" }, "files": [ "dist/lib/*.js", "dist/lib/*.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": { "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0", "@sindresorhus/tsconfig": "^7.0.0", "@stylistic/eslint-plugin": "^4.2.0", "@typescript-eslint/parser": "^8.32.1", "arrify": "^3.0.0", "cosmiconfig": "^9.0.0", "define-lazy-prop": "^3.0.0", "eslint": "^9.27.0", "eslint-config-prettier": "^10.1.5", "eslint-config-xo-react": "^0.28.0", "eslint-config-xo-typescript": "^7.0.0", "eslint-formatter-pretty": "^6.0.1", "eslint-plugin-ava": "^15.0.1", "eslint-plugin-import-x": "^4.12.2", "eslint-plugin-n": "^17.18.0", "eslint-plugin-no-use-extend-native": "^0.7.2", "eslint-plugin-prettier": "^5.4.0", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-unicorn": "^59.0.1", "find-cache-directory": "^6.0.0", "get-stdin": "^9.0.0", "get-tsconfig": "^4.10.1", "globals": "^16.1.0", "globby": "^14.1.0", "meow": "^13.2.0", "micromatch": "^4.0.8", "open-editor": "^5.1.0", "path-exists": "^5.0.0", "prettier": "^3.5.3", "type-fest": "^4.41.0", "typescript-eslint": "^8.32.1" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@types/eslint": "9.6.1", "@types/micromatch": "^4.0.9", "@types/prettier": "^3.0.0", "ava": "^6.3.0", "dedent": "^1.6.0", "execa": "^9.5.3", "husky": "^9.1.7", "lint-staged": "^16.0.0", "np": "^10.2.0", "npm-package-json-lint": "^8.0.0", "npm-package-json-lint-config-default": "^7.0.1", "prettier-plugin-packagejson": "^2.5.14", "temp-dir": "^3.0.0", "xo": "file:." }, "ava": { "files": [ "dist/test/**/*.js", "!dist/test/fixtures/**", "!dist/test/helpers/**", "!dist/test/scripts/**" ], "nodeArguments": [ "--enable-source-maps" ], "timeout": "1m", "verbose": true, "watchMode": { "ignoreChanges": [ ".history", ".history/**/*", "node_modules", "package.json", "xo.config.*" ] } }, "nyc": { "reporter": [ "text", "lcov" ] } }