UNPKG

3.66 kBJSONView Raw
1{
2 "name": "eslint-plugin-jest",
3 "version": "23.13.2",
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",
24 "postbuild": "rimraf lib/__tests__ lib/**/__tests__",
25 "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
26 "prepare": "yarn build && yarn postbuild",
27 "prepublishOnly": "yarn build",
28 "prettylint": "prettylint docs/**/*.md README.md package.json",
29 "pretest": "yarn build",
30 "test": "jest",
31 "tools:generate-rules-table": "ts-node -T tools/generate-rules-table",
32 "typecheck": "tsc -p ."
33 },
34 "husky": {
35 "hooks": {
36 "pre-commit": "lint-staged",
37 "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
38 }
39 },
40 "commitlint": {
41 "extends": [
42 "@commitlint/config-conventional"
43 ]
44 },
45 "lint-staged": {
46 "*.{js,ts}": [
47 "eslint --fix",
48 "git add"
49 ],
50 "*.{md,json}": [
51 "prettier --write",
52 "git add"
53 ]
54 },
55 "prettier": {
56 "proseWrap": "always",
57 "singleQuote": true,
58 "trailingComma": "all"
59 },
60 "jest": {
61 "coverageThreshold": {
62 "global": {
63 "branches": 100,
64 "functions": 100,
65 "lines": 100,
66 "statements": 100
67 }
68 },
69 "projects": [
70 {
71 "displayName": "test",
72 "testEnvironment": "node",
73 "testPathIgnorePatterns": [
74 "<rootDir>/lib/.*"
75 ]
76 },
77 {
78 "displayName": "lint",
79 "runner": "jest-runner-eslint",
80 "testMatch": [
81 "<rootDir>/**/*.{js,ts}"
82 ],
83 "testPathIgnorePatterns": [
84 "<rootDir>/lib/.*"
85 ]
86 }
87 ]
88 },
89 "dependencies": {
90 "@typescript-eslint/experimental-utils": "^2.5.0"
91 },
92 "devDependencies": {
93 "@babel/cli": "^7.4.4",
94 "@babel/core": "^7.4.4",
95 "@babel/preset-env": "^7.4.4",
96 "@babel/preset-typescript": "^7.3.3",
97 "@commitlint/cli": "^8.2.0",
98 "@commitlint/config-conventional": "^8.2.0",
99 "@schemastore/package": "^0.0.5",
100 "@semantic-release/changelog": "^3.0.5",
101 "@semantic-release/git": "^7.0.17",
102 "@types/eslint": "^6.1.3",
103 "@types/jest": "^25.1.0",
104 "@types/node": "^12.6.6",
105 "@typescript-eslint/eslint-plugin": "^2.5.0",
106 "@typescript-eslint/parser": "^2.5.0",
107 "babel-jest": "^25.2.0",
108 "babel-plugin-replace-ts-export-assignment": "^0.0.2",
109 "eslint": "^5.1.0 || ^6.0.0",
110 "eslint-config-prettier": "^6.5.0",
111 "eslint-plugin-eslint-comments": "^3.1.2",
112 "eslint-plugin-eslint-plugin": "^2.0.0",
113 "eslint-plugin-import": "^2.20.2",
114 "eslint-plugin-node": "^11.0.0",
115 "eslint-plugin-prettier": "^3.0.0",
116 "husky": "^3.0.9",
117 "jest": "^25.2.0",
118 "jest-runner-eslint": "^0.8.0",
119 "lint-staged": "^9.4.2",
120 "prettier": "^1.19.1",
121 "prettylint": "^1.0.0",
122 "resolve-from": "^5.0.0",
123 "rimraf": "^3.0.0",
124 "semantic-release": "^15.13.28",
125 "ts-node": "^8.10.1",
126 "typescript": "^3.5.3"
127 },
128 "peerDependencies": {
129 "eslint": ">=5"
130 },
131 "engines": {
132 "node": ">=8"
133 },
134 "release": {
135 "plugins": [
136 "@semantic-release/commit-analyzer",
137 "@semantic-release/release-notes-generator",
138 "@semantic-release/changelog",
139 "@semantic-release/npm",
140 "@semantic-release/git",
141 "@semantic-release/github"
142 ]
143 }
144}