UNPKG

eslint-plugin-compat

Version:
122 lines (121 loc) 3.89 kB
{ "name": "eslint-plugin-compat", "version": "6.0.2", "description": "Lint browser compatibility of API used", "keywords": [ "eslint", "browser", "support", "api", "lint", "caniuse", "kangax" ], "homepage": "https://github.com/amilajack/eslint-plugin-compat#readme", "bugs": { "url": "https://github.com/amilajack/eslint-plugin-compat/issues" }, "repository": { "type": "git", "url": "git+https://github.com/amilajack/eslint-plugin-compat.git" }, "license": "MIT", "author": "Amila Welihinda", "contributors": [ "Amila Welihinda <amilajack@gmail.com> (https://github.com/amilajack)", "John Tran <jptran318@gmail.com> (https://github.com/jooohhn)" ], "main": "./lib/cjs/src/index.js", "types": "./lib/cjs/src/index.d.ts", "exports": { ".": { "import": { "types": "./lib/esm//src/index.d.mts", "default": "./lib/esm/src/index.js" }, "require": { "types": "./lib/cjs/src/index.d.ts", "default": "./lib/cjs/src/index.js" } } }, "files": [ "lib" ], "scripts": { "benchmarks": "ts-node-transpile-only test/benchmarks.ts", "build": "rm -rf lib && tsc --project tsconfig.build.json && tsc --project tsconfig.esm.json", "lint": "eslint .", "prettier": "prettier --check .", "prettier:write": "prettier --write .", "spec": "jest --testPathIgnorePatterns test/e2e-repo.spec.ts /benchmarks-tmp", "spec:e2e": "jest --detectOpenHandles test/e2e-repo.spec.ts", "test": "npm run build && npm run lint && npm run spec", "tsc": "tsc", "version": "npm run build" }, "prettier": { "semi": true, "tabWidth": 2, "trailingComma": "es5" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testPathIgnorePatterns": [ "/benchmarks-tmp/" ] }, "dependencies": { "@mdn/browser-compat-data": "^5.5.35", "ast-metadata-inferer": "^0.8.1", "browserslist": "^4.24.2", "caniuse-lite": "^1.0.30001687", "find-up": "^5.0.0", "globals": "^15.7.0", "lodash.memoize": "^4.1.2", "semver": "^7.6.2" }, "devDependencies": { "@babel/core": "^7.24.7", "@babel/eslint-parser": "^7.24.7", "@eslint/compat": "^1.1.0", "@eslint/js": "^9.6.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@tsconfig/node16": "^16.1.3", "@types/benchmark": "^2.1.5", "@types/caniuse-lite": "^1.0.5", "@types/eslint": "^8.56.10", "@types/jest": "^29.5.12", "@types/lodash.memoize": "^4.1.9", "@types/semver": "7.5.8", "benchmark": "^2.1.4", "browserslist-config-erb": "^0.0.3", "electron": "^29.x.x", "eslint": "^9.6.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-plugin": "^6.2.0", "eslint-plugin-prettier": "^5.1.3", "expect-type": "^0.19.0", "jest": "^29.7.0", "prettier": "^3.3.2", "semantic-release": "^22.0.12", "simple-git": "^3.25.0", "ts-jest": "^29.1.5", "ts-node": "^10.9.2", "typescript": "^5.4.3", "typescript-eslint": "^8.0.0-alpha.36" }, "peerDependencies": { "eslint": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" }, "engines": { "node": ">=18.x" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/eslint-plugin-compat", "logo": "https://opencollective.com/opencollective/logo.txt" } }