UNPKG

2.41 kBJSONView Raw
1{
2 "name": "eslint-plugin-jest",
3 "version": "22.7.2",
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": "^8.0.0",
42 "@commitlint/config-conventional": "^8.0.0",
43 "babel-jest": "^24.8.0",
44 "eslint": "^5.1.0",
45 "eslint-config-prettier": "^4.1.0",
46 "eslint-plugin-eslint-plugin": "^2.0.0",
47 "eslint-plugin-node": "^8.0.0",
48 "eslint-plugin-prettier": "^3.0.0",
49 "husky": "^1.0.1",
50 "jest": "^24.0.0",
51 "jest-runner-eslint": "^0.7.1",
52 "lint-staged": "^8.0.4",
53 "prettier": "^1.10.2",
54 "prettylint": "^1.0.0"
55 },
56 "prettier": {
57 "proseWrap": "always",
58 "singleQuote": true,
59 "trailingComma": "all"
60 },
61 "lint-staged": {
62 "*.js": [
63 "eslint --fix",
64 "git add"
65 ],
66 "*.{md,json}": [
67 "prettier --write",
68 "git add"
69 ]
70 },
71 "jest": {
72 "coverageThreshold": {
73 "global": {
74 "branches": 100,
75 "functions": 100,
76 "lines": 100,
77 "statements": 100
78 }
79 },
80 "projects": [
81 {
82 "displayName": "test",
83 "testEnvironment": "node",
84 "testPathIgnorePatterns": [
85 "<rootDir>/lib/.*"
86 ]
87 },
88 {
89 "displayName": "lint",
90 "runner": "jest-runner-eslint",
91 "testMatch": [
92 "<rootDir>/**/*.js"
93 ],
94 "testPathIgnorePatterns": [
95 "<rootDir>/lib/.*"
96 ]
97 }
98 ]
99 },
100 "commitlint": {
101 "extends": [
102 "@commitlint/config-conventional"
103 ]
104 },
105 "husky": {
106 "hooks": {
107 "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
108 "pre-commit": "lint-staged"
109 }
110 }
111}