UNPKG

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