2020-08-26 01:57:08 +02:00
|
|
|
{
|
|
|
|
"name": "eslint-plugin-jest",
|
2022-11-10 11:43:16 +01:00
|
|
|
"version": "27.1.4",
|
|
|
|
"description": "ESLint rules for Jest",
|
2020-08-26 01:57:08 +02:00
|
|
|
"keywords": [
|
|
|
|
"eslint",
|
|
|
|
"eslintplugin",
|
|
|
|
"eslint-plugin"
|
|
|
|
],
|
|
|
|
"repository": "jest-community/eslint-plugin-jest",
|
|
|
|
"license": "MIT",
|
|
|
|
"author": {
|
|
|
|
"name": "Jonathan Kim",
|
|
|
|
"email": "hello@jkimbo.com",
|
|
|
|
"url": "jkimbo.com"
|
|
|
|
},
|
|
|
|
"main": "lib/",
|
|
|
|
"files": [
|
|
|
|
"docs/",
|
|
|
|
"lib/"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2021-02-26 04:58:33 +01:00
|
|
|
"build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
|
2022-11-10 11:43:16 +01:00
|
|
|
"_postinstall": "is-ci || husky install",
|
2020-08-26 01:57:08 +02:00
|
|
|
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
2021-02-26 04:58:33 +01:00
|
|
|
"prepack": "rimraf lib && yarn build",
|
2022-11-10 11:43:16 +01:00
|
|
|
"prepublishOnly": "pinst --disable",
|
2021-02-26 04:58:33 +01:00
|
|
|
"prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
|
|
|
"prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
2022-11-10 11:43:16 +01:00
|
|
|
"postpublish": "pinst --enable",
|
2020-08-26 01:57:08 +02:00
|
|
|
"test": "jest",
|
2022-11-10 11:43:16 +01:00
|
|
|
"tools:regenerate-docs": "yarn prepack && eslint-doc-generator --ignore-config all --rule-doc-title-format desc-parens-name --rule-doc-section-include \"Rule details\" --rule-list-columns name,description,configsError,configsWarn,configsOff,fixable,hasSuggestions,deprecated --split-by meta.docs.requiresTypeChecking --url-configs \"https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#shareable-configurations\" && yarn prettier:write",
|
2020-08-26 01:57:08 +02:00
|
|
|
"typecheck": "tsc -p ."
|
|
|
|
},
|
|
|
|
"commitlint": {
|
|
|
|
"extends": [
|
|
|
|
"@commitlint/config-conventional"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-02-26 04:58:33 +01:00
|
|
|
"*.{js,ts}": "eslint --fix",
|
|
|
|
"*.{md,json,yml}": "prettier --write"
|
2020-08-26 01:57:08 +02:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"arrowParens": "avoid",
|
|
|
|
"endOfLine": "auto",
|
|
|
|
"proseWrap": "always",
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all"
|
|
|
|
},
|
2022-11-10 11:43:16 +01:00
|
|
|
"release": {
|
|
|
|
"branches": [
|
|
|
|
"main",
|
|
|
|
{
|
|
|
|
"name": "next",
|
|
|
|
"prerelease": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
"@semantic-release/changelog",
|
|
|
|
"@semantic-release/npm",
|
|
|
|
"@semantic-release/git",
|
|
|
|
"@semantic-release/github"
|
|
|
|
]
|
|
|
|
},
|
2020-08-26 01:57:08 +02:00
|
|
|
"jest": {
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"branches": 100,
|
|
|
|
"functions": 100,
|
|
|
|
"lines": 100,
|
|
|
|
"statements": 100
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"projects": [
|
|
|
|
{
|
|
|
|
"displayName": "test",
|
|
|
|
"testPathIgnorePatterns": [
|
2022-11-10 11:43:16 +01:00
|
|
|
"<rootDir>/lib/.*",
|
|
|
|
"<rootDir>/src/rules/__tests__/fixtures/*",
|
|
|
|
"<rootDir>/src/rules/__tests__/test-utils.ts"
|
2020-08-26 01:57:08 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "lint",
|
|
|
|
"runner": "jest-runner-eslint",
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/**/*.{js,ts}"
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"<rootDir>/lib/.*"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-10 11:43:16 +01:00
|
|
|
"@typescript-eslint/utils": "^5.10.0"
|
2020-08-26 01:57:08 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.4.4",
|
|
|
|
"@babel/core": "^7.4.4",
|
|
|
|
"@babel/preset-env": "^7.4.4",
|
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
2022-11-10 11:43:16 +01:00
|
|
|
"@commitlint/cli": "^17.0.3",
|
|
|
|
"@commitlint/config-conventional": "^17.0.3",
|
2020-08-26 01:57:08 +02:00
|
|
|
"@schemastore/package": "^0.0.6",
|
2022-11-10 11:43:16 +01:00
|
|
|
"@semantic-release/changelog": "^6.0.0",
|
|
|
|
"@semantic-release/git": "^10.0.0",
|
|
|
|
"@tsconfig/node14": "^1.0.3",
|
2020-08-26 01:57:08 +02:00
|
|
|
"@types/dedent": "^0.7.0",
|
2022-11-10 11:43:16 +01:00
|
|
|
"@types/eslint": "^8.4.6",
|
|
|
|
"@types/jest": "^29.0.0",
|
|
|
|
"@types/node": "^14.18.26",
|
2021-02-26 04:58:33 +01:00
|
|
|
"@types/prettier": "^2.0.0",
|
2022-11-10 11:43:16 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
|
|
"@typescript-eslint/parser": "^5.0.0",
|
|
|
|
"babel-jest": "^29.0.0",
|
2020-08-26 01:57:08 +02:00
|
|
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
|
|
"dedent": "^0.7.0",
|
2022-11-10 11:43:16 +01:00
|
|
|
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-doc-generator": "^0.19.0",
|
2020-08-26 01:57:08 +02:00
|
|
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
2022-11-10 11:43:16 +01:00
|
|
|
"eslint-plugin-eslint-plugin": "^5.0.6",
|
|
|
|
"eslint-plugin-import": "^2.25.1",
|
2020-08-26 01:57:08 +02:00
|
|
|
"eslint-plugin-node": "^11.0.0",
|
2022-11-10 11:43:16 +01:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"eslint-remote-tester": "^3.0.0",
|
|
|
|
"eslint-remote-tester-repositories": "~0.0.5",
|
|
|
|
"husky": "^8.0.1",
|
|
|
|
"is-ci": "^3.0.0",
|
|
|
|
"jest": "^29.0.0",
|
|
|
|
"jest-runner-eslint": "^1.1.0",
|
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"markdown-link-check": "^3.10.2",
|
|
|
|
"pinst": "^3.0.0",
|
2021-02-26 04:58:33 +01:00
|
|
|
"prettier": "^2.0.5",
|
2020-08-26 01:57:08 +02:00
|
|
|
"rimraf": "^3.0.0",
|
2022-11-10 11:43:16 +01:00
|
|
|
"semantic-release": "^19.0.0",
|
|
|
|
"semver": "^7.3.5",
|
|
|
|
"ts-node": "^10.2.1",
|
|
|
|
"typescript": "^4.4.0"
|
2020-08-26 01:57:08 +02:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-11-10 11:43:16 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
|
|
"eslint": "^7.0.0 || ^8.0.0"
|
2020-08-26 01:57:08 +02:00
|
|
|
},
|
2022-11-10 11:43:16 +01:00
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@typescript-eslint/eslint-plugin": {
|
|
|
|
"optional": true
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"optional": true
|
|
|
|
}
|
2020-08-26 01:57:08 +02:00
|
|
|
},
|
2022-11-10 11:43:16 +01:00
|
|
|
"packageManager": "yarn@3.2.4",
|
|
|
|
"engines": {
|
|
|
|
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
2020-08-26 01:57:08 +02:00
|
|
|
}
|
|
|
|
}
|