| 1 | {
|
|---|
| 2 | "name": "eslint-plugin-jest",
|
|---|
| 3 | "version": "25.7.0",
|
|---|
| 4 | "description": "Eslint rules for Jest",
|
|---|
| 5 | "keywords": [
|
|---|
| 6 | "eslint",
|
|---|
| 7 | "eslintplugin",
|
|---|
| 8 | "eslint-plugin"
|
|---|
| 9 | ],
|
|---|
| 10 | "repository": "jest-community/eslint-plugin-jest",
|
|---|
| 11 | "license": "MIT",
|
|---|
| 12 | "author": {
|
|---|
| 13 | "name": "Jonathan Kim",
|
|---|
| 14 | "email": "hello@jkimbo.com",
|
|---|
| 15 | "url": "jkimbo.com"
|
|---|
| 16 | },
|
|---|
| 17 | "main": "lib/",
|
|---|
| 18 | "files": [
|
|---|
| 19 | "docs/",
|
|---|
| 20 | "lib/"
|
|---|
| 21 | ],
|
|---|
| 22 | "scripts": {
|
|---|
| 23 | "build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
|
|---|
| 24 | "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
|---|
| 25 | "prepack": "rimraf lib && yarn build",
|
|---|
| 26 | "prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
|---|
| 27 | "prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
|---|
| 28 | "test": "jest",
|
|---|
| 29 | "tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
|
|---|
| 30 | "typecheck": "tsc -p .",
|
|---|
| 31 | "_postinstall": "is-ci || husky install",
|
|---|
| 32 | "prepublishOnly": "pinst --disable",
|
|---|
| 33 | "postpublish": "pinst --enable"
|
|---|
| 34 | },
|
|---|
| 35 | "commitlint": {
|
|---|
| 36 | "extends": [
|
|---|
| 37 | "@commitlint/config-conventional"
|
|---|
| 38 | ]
|
|---|
| 39 | },
|
|---|
| 40 | "lint-staged": {
|
|---|
| 41 | "*.{js,ts}": "eslint --fix",
|
|---|
| 42 | "*.{md,json,yml}": "prettier --write"
|
|---|
| 43 | },
|
|---|
| 44 | "prettier": {
|
|---|
| 45 | "arrowParens": "avoid",
|
|---|
| 46 | "endOfLine": "auto",
|
|---|
| 47 | "proseWrap": "always",
|
|---|
| 48 | "singleQuote": true,
|
|---|
| 49 | "trailingComma": "all"
|
|---|
| 50 | },
|
|---|
| 51 | "jest": {
|
|---|
| 52 | "coverageThreshold": {
|
|---|
| 53 | "global": {
|
|---|
| 54 | "branches": 100,
|
|---|
| 55 | "functions": 100,
|
|---|
| 56 | "lines": 100,
|
|---|
| 57 | "statements": 100
|
|---|
| 58 | }
|
|---|
| 59 | },
|
|---|
| 60 | "projects": [
|
|---|
| 61 | {
|
|---|
| 62 | "displayName": "test",
|
|---|
| 63 | "moduleNameMapper": {
|
|---|
| 64 | "eslint/use-at-your-own-risk": "eslint/lib/unsupported-api.js"
|
|---|
| 65 | },
|
|---|
| 66 | "testPathIgnorePatterns": [
|
|---|
| 67 | "<rootDir>/lib/.*",
|
|---|
| 68 | "<rootDir>/src/rules/__tests__/fixtures/*",
|
|---|
| 69 | "<rootDir>/src/rules/__tests__/test-utils.ts"
|
|---|
| 70 | ]
|
|---|
| 71 | },
|
|---|
| 72 | {
|
|---|
| 73 | "displayName": "lint",
|
|---|
| 74 | "runner": "jest-runner-eslint",
|
|---|
| 75 | "testMatch": [
|
|---|
| 76 | "<rootDir>/**/*.{js,ts}"
|
|---|
| 77 | ],
|
|---|
| 78 | "testPathIgnorePatterns": [
|
|---|
| 79 | "<rootDir>/lib/.*"
|
|---|
| 80 | ]
|
|---|
| 81 | }
|
|---|
| 82 | ]
|
|---|
| 83 | },
|
|---|
| 84 | "dependencies": {
|
|---|
| 85 | "@typescript-eslint/experimental-utils": "^5.0.0"
|
|---|
| 86 | },
|
|---|
| 87 | "devDependencies": {
|
|---|
| 88 | "@babel/cli": "^7.4.4",
|
|---|
| 89 | "@babel/core": "^7.4.4",
|
|---|
| 90 | "@babel/preset-env": "^7.4.4",
|
|---|
| 91 | "@babel/preset-typescript": "^7.3.3",
|
|---|
| 92 | "@commitlint/cli": "^16.0.0",
|
|---|
| 93 | "@commitlint/config-conventional": "^16.0.0",
|
|---|
| 94 | "@schemastore/package": "^0.0.6",
|
|---|
| 95 | "@semantic-release/changelog": "^6.0.0",
|
|---|
| 96 | "@semantic-release/git": "^10.0.0",
|
|---|
| 97 | "@types/dedent": "^0.7.0",
|
|---|
| 98 | "@types/jest": "^27.0.0",
|
|---|
| 99 | "@types/node": "^16.0.0",
|
|---|
| 100 | "@types/prettier": "^2.0.0",
|
|---|
| 101 | "@typescript-eslint/eslint-plugin": "^5.0.0",
|
|---|
| 102 | "@typescript-eslint/parser": "^5.0.0",
|
|---|
| 103 | "babel-jest": "^27.0.0",
|
|---|
| 104 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|---|
| 105 | "dedent": "^0.7.0",
|
|---|
| 106 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
|---|
| 107 | "eslint-config-prettier": "^8.3.0",
|
|---|
| 108 | "eslint-plugin-eslint-comments": "^3.1.2",
|
|---|
| 109 | "eslint-plugin-eslint-config": "^2.0.0",
|
|---|
| 110 | "eslint-plugin-eslint-plugin": "^4.0.1",
|
|---|
| 111 | "eslint-plugin-import": "^2.25.1",
|
|---|
| 112 | "eslint-plugin-node": "^11.0.0",
|
|---|
| 113 | "eslint-plugin-prettier": "^3.4.1",
|
|---|
| 114 | "eslint-remote-tester": "^2.1.0",
|
|---|
| 115 | "eslint-remote-tester-repositories": "^0.0.3",
|
|---|
| 116 | "husky": "^7.0.2",
|
|---|
| 117 | "is-ci": "^3.0.0",
|
|---|
| 118 | "jest": "^27.0.0",
|
|---|
| 119 | "jest-runner-eslint": "^1.0.0",
|
|---|
| 120 | "lint-staged": "^12.0.0",
|
|---|
| 121 | "pinst": "^2.0.0",
|
|---|
| 122 | "prettier": "^2.0.5",
|
|---|
| 123 | "rimraf": "^3.0.0",
|
|---|
| 124 | "semantic-release": "^18.0.0",
|
|---|
| 125 | "semver": "^7.3.5",
|
|---|
| 126 | "ts-node": "^10.2.1",
|
|---|
| 127 | "typescript": "^4.4.0"
|
|---|
| 128 | },
|
|---|
| 129 | "peerDependencies": {
|
|---|
| 130 | "@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0",
|
|---|
| 131 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|---|
| 132 | },
|
|---|
| 133 | "peerDependenciesMeta": {
|
|---|
| 134 | "@typescript-eslint/eslint-plugin": {
|
|---|
| 135 | "optional": true
|
|---|
| 136 | },
|
|---|
| 137 | "jest": {
|
|---|
| 138 | "optional": true
|
|---|
| 139 | }
|
|---|
| 140 | },
|
|---|
| 141 | "engines": {
|
|---|
| 142 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
|
|---|
| 143 | },
|
|---|
| 144 | "release": {
|
|---|
| 145 | "branches": [
|
|---|
| 146 | "main",
|
|---|
| 147 | {
|
|---|
| 148 | "name": "next",
|
|---|
| 149 | "prerelease": true
|
|---|
| 150 | }
|
|---|
| 151 | ],
|
|---|
| 152 | "plugins": [
|
|---|
| 153 | "@semantic-release/commit-analyzer",
|
|---|
| 154 | "@semantic-release/release-notes-generator",
|
|---|
| 155 | "@semantic-release/changelog",
|
|---|
| 156 | "@semantic-release/npm",
|
|---|
| 157 | "@semantic-release/git",
|
|---|
| 158 | "@semantic-release/github"
|
|---|
| 159 | ]
|
|---|
| 160 | },
|
|---|
| 161 | "resolutions": {
|
|---|
| 162 | "@typescript-eslint/experimental-utils": "^5.0.0"
|
|---|
| 163 | },
|
|---|
| 164 | "packageManager": "yarn@3.1.1"
|
|---|
| 165 | }
|
|---|