80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
|
{
|
||
|
"name": "eslint-compat-utils",
|
||
|
"version": "0.1.2",
|
||
|
"description": "Provides an API for ESLint custom rules that is compatible with the latest ESLint even when using older ESLint.",
|
||
|
"engines": {
|
||
|
"node": ">=12"
|
||
|
},
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"types": "./index.d.ts",
|
||
|
"import": "./dist/index.mjs",
|
||
|
"require": "./dist/index.cjs"
|
||
|
},
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"main": "./dist/index.cjs",
|
||
|
"module": "./dist/index.mjs",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"prebuild": "npm run -s clean",
|
||
|
"build": "unbuild",
|
||
|
"clean": "rimraf .nyc_output dist coverage",
|
||
|
"lint": "npm-run-all \"lint:*\"",
|
||
|
"lint:js": "eslint . --ext .js,.mjs,.ts,.json,.yml,.yaml",
|
||
|
"eslint-fix": "eslint . --ext .js,.mjs,.ts,.json,.yml,.yaml --fix",
|
||
|
"test:cover": "nyc --reporter=lcov npm run test",
|
||
|
"test": "npm run mocha -- \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
|
||
|
"update:extract-v6-props": "npm run ts -- tools/extract-v6-props.ts",
|
||
|
"ts": "node -r esbuild-register",
|
||
|
"mocha": "npm run ts -- ./node_modules/mocha/bin/mocha.js",
|
||
|
"prerelease": "npm run clean && npm run build",
|
||
|
"release": "changeset publish"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/ota-meshi/eslint-compat-utils.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"eslint"
|
||
|
],
|
||
|
"author": "Yosuke Ota (https://github.com/ota-meshi)",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/ota-meshi/eslint-compat-utils/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/ota-meshi/eslint-compat-utils#readme",
|
||
|
"peerDependencies": {
|
||
|
"eslint": ">=6.0.0"
|
||
|
},
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@changesets/cli": "^2.26.2",
|
||
|
"@ota-meshi/eslint-plugin": "^0.15.0",
|
||
|
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
|
||
|
"@types/eslint": "^8.44.3",
|
||
|
"@types/mocha": "^10.0.0",
|
||
|
"@types/node": "^18.11.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
||
|
"@typescript-eslint/parser": "^6.7.4",
|
||
|
"esbuild-register": "^3.5.0",
|
||
|
"eslint": "^8.51.0",
|
||
|
"eslint-config-prettier": "^9.0.0",
|
||
|
"eslint-plugin-json-schema-validator": "^4.6.0",
|
||
|
"eslint-plugin-jsonc": "^2.9.0",
|
||
|
"eslint-plugin-n": "^16.1.0",
|
||
|
"eslint-plugin-prettier": "^5.0.0",
|
||
|
"eslint-plugin-yml": "^1.9.0",
|
||
|
"mocha": "^10.2.0",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"nyc": "^15.1.0",
|
||
|
"prettier": "^3.0.3",
|
||
|
"unbuild": "^2.0.0"
|
||
|
}
|
||
|
}
|