1 | {
|
2 | "name": "eslint-plugin-jest",
|
3 | "version": "22.9.0",
|
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 | "src/",
|
20 | "lib/"
|
21 | ],
|
22 | "main": "lib/",
|
23 | "engines": {
|
24 | "node": ">=6"
|
25 | },
|
26 | "peerDependencies": {
|
27 | "eslint": ">=5"
|
28 | },
|
29 | "scripts": {
|
30 | "prepare": "yarn build",
|
31 | "lint": "eslint . --ignore-pattern '!.eslintrc.js'",
|
32 | "prettylint": "prettylint docs/**/*.md README.md package.json",
|
33 | "prepublishOnly": "yarn build",
|
34 | "test": "jest",
|
35 | "build": "babel src --out-dir lib"
|
36 | },
|
37 | "devDependencies": {
|
38 | "@babel/cli": "^7.4.4",
|
39 | "@babel/core": "^7.4.4",
|
40 | "@babel/preset-env": "^7.4.4",
|
41 | "@commitlint/cli": "^6.0.0",
|
42 | "@commitlint/config-conventional": "^6.0.0",
|
43 | "babel-eslint": "^10.0.2",
|
44 | "babel-jest": "^24.8.0",
|
45 | "eslint": "^5.1.0",
|
46 | "eslint-config-prettier": "^5.1.0",
|
47 | "eslint-plugin-eslint-plugin": "^2.0.0",
|
48 | "eslint-plugin-node": "^8.0.0",
|
49 | "eslint-plugin-prettier": "^3.0.0",
|
50 | "husky": "^1.0.1",
|
51 | "jest": "^24.0.0",
|
52 | "jest-runner-eslint": "^0.7.1",
|
53 | "lint-staged": "^8.0.4",
|
54 | "prettier": "^1.10.2",
|
55 | "prettylint": "^1.0.0"
|
56 | },
|
57 | "prettier": {
|
58 | "proseWrap": "always",
|
59 | "singleQuote": true,
|
60 | "trailingComma": "all"
|
61 | },
|
62 | "lint-staged": {
|
63 | "*.js": [
|
64 | "eslint --fix",
|
65 | "git add"
|
66 | ],
|
67 | "*.{md,json}": [
|
68 | "prettier --write",
|
69 | "git add"
|
70 | ]
|
71 | },
|
72 | "jest": {
|
73 | "coverageThreshold": {
|
74 | "global": {
|
75 | "branches": 100,
|
76 | "functions": 100,
|
77 | "lines": 100,
|
78 | "statements": 100
|
79 | }
|
80 | },
|
81 | "projects": [
|
82 | {
|
83 | "displayName": "test",
|
84 | "testEnvironment": "node",
|
85 | "testPathIgnorePatterns": [
|
86 | "<rootDir>/lib/.*"
|
87 | ]
|
88 | },
|
89 | {
|
90 | "displayName": "lint",
|
91 | "runner": "jest-runner-eslint",
|
92 | "testMatch": [
|
93 | "<rootDir>/**/*.js"
|
94 | ],
|
95 | "testPathIgnorePatterns": [
|
96 | "<rootDir>/lib/.*"
|
97 | ]
|
98 | }
|
99 | ]
|
100 | },
|
101 | "commitlint": {
|
102 | "extends": [
|
103 | "@commitlint/config-conventional"
|
104 | ]
|
105 | },
|
106 | "husky": {
|
107 | "hooks": {
|
108 | "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
|
109 | "pre-commit": "lint-staged"
|
110 | }
|
111 | }
|
112 | }
|