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