1 | {
|
2 | "name": "eslint-plugin-jest",
|
3 | "version": "22.0.1",
|
4 | "description": "Eslint rules for Jest",
|
5 | "repository": "jest-community/eslint-plugin-jest",
|
6 | "license": "MIT",
|
7 | "keywords": [
|
8 | "eslint",
|
9 | "eslintplugin",
|
10 | "eslint-plugin"
|
11 | ],
|
12 | "author": {
|
13 | "name": "Jonathan Kim",
|
14 | "email": "hello@jkimbo.com",
|
15 | "url": "jkimbo.com"
|
16 | },
|
17 | "files": [
|
18 | "docs/",
|
19 | "rules/",
|
20 | "processors/",
|
21 | "index.js"
|
22 | ],
|
23 | "engines": {
|
24 | "node": ">=6"
|
25 | },
|
26 | "peerDependencies": {
|
27 | "eslint": ">=5"
|
28 | },
|
29 | "scripts": {
|
30 | "lint": "eslint . --ignore-pattern '!.eslintrc.js'",
|
31 | "prettylint": "prettylint docs/**/*.md README.md package.json",
|
32 | "test": "jest"
|
33 | },
|
34 | "devDependencies": {
|
35 | "@commitlint/cli": "^7.0.0",
|
36 | "@commitlint/config-conventional": "^7.0.1",
|
37 | "eslint": "^5.1.0",
|
38 | "eslint-config-prettier": "^3.0.1",
|
39 | "eslint-plugin-eslint-plugin": "^1.4.0",
|
40 | "eslint-plugin-node": "^8.0.0",
|
41 | "eslint-plugin-prettier": "^3.0.0",
|
42 | "husky": "^1.0.1",
|
43 | "jest": "^23.4.1",
|
44 | "jest-runner-eslint": "^0.7.1",
|
45 | "lint-staged": "^8.0.4",
|
46 | "prettier": "^1.10.2",
|
47 | "prettylint": "^1.0.0"
|
48 | },
|
49 | "prettier": {
|
50 | "proseWrap": "always",
|
51 | "singleQuote": true,
|
52 | "trailingComma": "es5"
|
53 | },
|
54 | "lint-staged": {
|
55 | "*.js": [
|
56 | "eslint --fix",
|
57 | "git add"
|
58 | ],
|
59 | "*.{md,json}": [
|
60 | "prettier --write",
|
61 | "git add"
|
62 | ]
|
63 | },
|
64 | "jest": {
|
65 | "coverageThreshold": {
|
66 | "global": {
|
67 | "branches": 100,
|
68 | "functions": 100,
|
69 | "lines": 100,
|
70 | "statements": 100
|
71 | }
|
72 | },
|
73 | "projects": [
|
74 | {
|
75 | "displayName": "test",
|
76 | "testEnvironment": "node"
|
77 | },
|
78 | {
|
79 | "displayName": "lint",
|
80 | "runner": "jest-runner-eslint",
|
81 | "testMatch": [
|
82 | "<rootDir>/**/*.js"
|
83 | ]
|
84 | }
|
85 | ]
|
86 | },
|
87 | "commitlint": {
|
88 | "extends": [
|
89 | "@commitlint/config-conventional"
|
90 | ]
|
91 | },
|
92 | "husky": {
|
93 | "hooks": {
|
94 | "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
|
95 | "pre-commit": "lint-staged"
|
96 | }
|
97 | }
|
98 | }
|