1 | {
|
2 | "name": "eslint-plugin-jest",
|
3 | "version": "27.1.1",
|
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 | "_postinstall": "is-ci || husky install",
|
25 | "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
26 | "prepack": "rimraf lib && yarn build",
|
27 | "prepublishOnly": "pinst --disable",
|
28 | "prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
29 | "prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
30 | "postpublish": "pinst --enable",
|
31 | "test": "jest",
|
32 | "tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
|
33 | "typecheck": "tsc -p ."
|
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 | "release": {
|
52 | "branches": [
|
53 | "main",
|
54 | {
|
55 | "name": "next",
|
56 | "prerelease": true
|
57 | }
|
58 | ],
|
59 | "plugins": [
|
60 | "@semantic-release/commit-analyzer",
|
61 | "@semantic-release/release-notes-generator",
|
62 | "@semantic-release/changelog",
|
63 | "@semantic-release/npm",
|
64 | "@semantic-release/git",
|
65 | "@semantic-release/github"
|
66 | ]
|
67 | },
|
68 | "jest": {
|
69 | "coverageThreshold": {
|
70 | "global": {
|
71 | "branches": 100,
|
72 | "functions": 100,
|
73 | "lines": 100,
|
74 | "statements": 100
|
75 | }
|
76 | },
|
77 | "projects": [
|
78 | {
|
79 | "displayName": "test",
|
80 | "testPathIgnorePatterns": [
|
81 | "<rootDir>/lib/.*",
|
82 | "<rootDir>/src/rules/__tests__/fixtures/*",
|
83 | "<rootDir>/src/rules/__tests__/test-utils.ts"
|
84 | ]
|
85 | },
|
86 | {
|
87 | "displayName": "lint",
|
88 | "runner": "jest-runner-eslint",
|
89 | "testMatch": [
|
90 | "<rootDir>/**/*.{js,ts}"
|
91 | ],
|
92 | "testPathIgnorePatterns": [
|
93 | "<rootDir>/lib/.*"
|
94 | ]
|
95 | }
|
96 | ]
|
97 | },
|
98 | "dependencies": {
|
99 | "@typescript-eslint/utils": "^5.10.0"
|
100 | },
|
101 | "devDependencies": {
|
102 | "@babel/cli": "^7.4.4",
|
103 | "@babel/core": "^7.4.4",
|
104 | "@babel/preset-env": "^7.4.4",
|
105 | "@babel/preset-typescript": "^7.3.3",
|
106 | "@commitlint/cli": "^17.0.3",
|
107 | "@commitlint/config-conventional": "^17.0.3",
|
108 | "@schemastore/package": "^0.0.6",
|
109 | "@semantic-release/changelog": "^6.0.0",
|
110 | "@semantic-release/git": "^10.0.0",
|
111 | "@tsconfig/node14": "^1.0.3",
|
112 | "@types/dedent": "^0.7.0",
|
113 | "@types/eslint": "^8.4.6",
|
114 | "@types/jest": "^29.0.0",
|
115 | "@types/node": "^14.18.26",
|
116 | "@types/prettier": "^2.0.0",
|
117 | "@typescript-eslint/eslint-plugin": "^5.0.0",
|
118 | "@typescript-eslint/parser": "^5.0.0",
|
119 | "babel-jest": "^29.0.0",
|
120 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
121 | "dedent": "^0.7.0",
|
122 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
123 | "eslint-config-prettier": "^8.3.0",
|
124 | "eslint-plugin-eslint-comments": "^3.1.2",
|
125 | "eslint-plugin-eslint-plugin": "^5.0.6",
|
126 | "eslint-plugin-import": "^2.25.1",
|
127 | "eslint-plugin-node": "^11.0.0",
|
128 | "eslint-plugin-prettier": "^4.2.1",
|
129 | "eslint-remote-tester": "^3.0.0",
|
130 | "eslint-remote-tester-repositories": "~0.0.5",
|
131 | "husky": "^8.0.1",
|
132 | "is-ci": "^3.0.0",
|
133 | "jest": "^29.0.0",
|
134 | "jest-runner-eslint": "^1.1.0",
|
135 | "lint-staged": "^13.0.3",
|
136 | "markdown-link-check": "^3.10.2",
|
137 | "pinst": "^3.0.0",
|
138 | "prettier": "^2.0.5",
|
139 | "rimraf": "^3.0.0",
|
140 | "semantic-release": "^19.0.0",
|
141 | "semver": "^7.3.5",
|
142 | "ts-node": "^10.2.1",
|
143 | "typescript": "^4.4.0"
|
144 | },
|
145 | "peerDependencies": {
|
146 | "@typescript-eslint/eslint-plugin": "^5.0.0",
|
147 | "eslint": "^7.0.0 || ^8.0.0"
|
148 | },
|
149 | "peerDependenciesMeta": {
|
150 | "@typescript-eslint/eslint-plugin": {
|
151 | "optional": true
|
152 | },
|
153 | "jest": {
|
154 | "optional": true
|
155 | }
|
156 | },
|
157 | "packageManager": "yarn@3.2.3",
|
158 | "engines": {
|
159 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
160 | }
|
161 | }
|