1 | {
|
2 | "name": "eslint-plugin-jest",
|
3 | "version": "24.1.5",
|
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 | },
|
32 | "husky": {
|
33 | "hooks": {
|
34 | "pre-commit": "lint-staged",
|
35 | "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
|
36 | }
|
37 | },
|
38 | "commitlint": {
|
39 | "extends": [
|
40 | "@commitlint/config-conventional"
|
41 | ]
|
42 | },
|
43 | "lint-staged": {
|
44 | "*.{js,ts}": "eslint --fix",
|
45 | "*.{md,json,yml}": "prettier --write"
|
46 | },
|
47 | "prettier": {
|
48 | "arrowParens": "avoid",
|
49 | "endOfLine": "auto",
|
50 | "proseWrap": "always",
|
51 | "singleQuote": true,
|
52 | "trailingComma": "all"
|
53 | },
|
54 | "jest": {
|
55 | "coverageThreshold": {
|
56 | "global": {
|
57 | "branches": 100,
|
58 | "functions": 100,
|
59 | "lines": 100,
|
60 | "statements": 100
|
61 | }
|
62 | },
|
63 | "projects": [
|
64 | {
|
65 | "displayName": "test",
|
66 | "testEnvironment": "node",
|
67 | "testPathIgnorePatterns": [
|
68 | "<rootDir>/lib/.*"
|
69 | ]
|
70 | },
|
71 | {
|
72 | "displayName": "lint",
|
73 | "runner": "jest-runner-eslint",
|
74 | "testMatch": [
|
75 | "<rootDir>/**/*.{js,ts}"
|
76 | ],
|
77 | "testPathIgnorePatterns": [
|
78 | "<rootDir>/lib/.*"
|
79 | ]
|
80 | }
|
81 | ]
|
82 | },
|
83 | "dependencies": {
|
84 | "@typescript-eslint/experimental-utils": "^4.0.1"
|
85 | },
|
86 | "devDependencies": {
|
87 | "@babel/cli": "^7.4.4",
|
88 | "@babel/core": "^7.4.4",
|
89 | "@babel/preset-env": "^7.4.4",
|
90 | "@babel/preset-typescript": "^7.3.3",
|
91 | "@commitlint/cli": "^11.0.0",
|
92 | "@commitlint/config-conventional": "^11.0.0",
|
93 | "@schemastore/package": "^0.0.6",
|
94 | "@semantic-release/changelog": "^5.0.1",
|
95 | "@semantic-release/git": "^9.0.0",
|
96 | "@types/dedent": "^0.7.0",
|
97 | "@types/jest": "^26.0.0",
|
98 | "@types/node": "^14.0.0",
|
99 | "@types/prettier": "^2.0.0",
|
100 | "@typescript-eslint/eslint-plugin": "^4.0.1",
|
101 | "@typescript-eslint/parser": "^4.0.1",
|
102 | "babel-jest": "^26.0.1",
|
103 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
104 | "dedent": "^0.7.0",
|
105 | "eslint": "^5.1.0 || ^6.0.0 || ^7.0.0",
|
106 | "eslint-config-prettier": "^6.5.0",
|
107 | "eslint-plugin-eslint-comments": "^3.1.2",
|
108 | "eslint-plugin-eslint-config": "^2.0.0",
|
109 | "eslint-plugin-eslint-plugin": "^2.0.0",
|
110 | "eslint-plugin-import": "^2.20.2",
|
111 | "eslint-plugin-node": "^11.0.0",
|
112 | "eslint-plugin-prettier": "^3.0.0",
|
113 | "husky": "^4.2.5",
|
114 | "jest": "^26.0.1",
|
115 | "jest-runner-eslint": "^0.10.0",
|
116 | "lint-staged": "^10.2.2",
|
117 | "prettier": "^2.0.5",
|
118 | "resolve-from": "^5.0.0",
|
119 | "rimraf": "^3.0.0",
|
120 | "semantic-release": "^17.0.7",
|
121 | "ts-node": "^9.0.0",
|
122 | "typescript": "^4.0.0"
|
123 | },
|
124 | "peerDependencies": {
|
125 | "eslint": ">=5"
|
126 | },
|
127 | "engines": {
|
128 | "node": ">=10"
|
129 | },
|
130 | "release": {
|
131 | "plugins": [
|
132 | "@semantic-release/commit-analyzer",
|
133 | "@semantic-release/release-notes-generator",
|
134 | "@semantic-release/changelog",
|
135 | "@semantic-release/npm",
|
136 | "@semantic-release/git",
|
137 | "@semantic-release/github"
|
138 | ]
|
139 | }
|
140 | }
|