package.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "name": "eslint-plugin-jest",
  3. "version": "26.9.0",
  4. "description": "ESLint rules for Jest",
  5. "keywords": [
  6. "eslint",
  7. "eslintplugin",
  8. "eslint-plugin"
  9. ],
  10. "repository": "jest-community/eslint-plugin-jest",
  11. "license": "MIT",
  12. "author": {
  13. "name": "Jonathan Kim",
  14. "email": "hello@jkimbo.com",
  15. "url": "jkimbo.com"
  16. },
  17. "main": "lib/",
  18. "files": [
  19. "docs/",
  20. "lib/"
  21. ],
  22. "scripts": {
  23. "build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
  24. "_postinstall": "is-ci || husky install",
  25. "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
  26. "prepack": "rimraf lib && yarn build",
  27. "prepublishOnly": "pinst --disable",
  28. "prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
  29. "prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
  30. "postpublish": "pinst --enable",
  31. "test": "jest",
  32. "tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
  33. "typecheck": "tsc -p ."
  34. },
  35. "commitlint": {
  36. "extends": [
  37. "@commitlint/config-conventional"
  38. ]
  39. },
  40. "lint-staged": {
  41. "*.{js,ts}": "eslint --fix",
  42. "*.{md,json,yml}": "prettier --write"
  43. },
  44. "prettier": {
  45. "arrowParens": "avoid",
  46. "endOfLine": "auto",
  47. "proseWrap": "always",
  48. "singleQuote": true,
  49. "trailingComma": "all"
  50. },
  51. "release": {
  52. "branches": [
  53. "main",
  54. {
  55. "name": "next",
  56. "prerelease": true
  57. }
  58. ],
  59. "plugins": [
  60. "@semantic-release/commit-analyzer",
  61. "@semantic-release/release-notes-generator",
  62. "@semantic-release/changelog",
  63. "@semantic-release/npm",
  64. "@semantic-release/git",
  65. "@semantic-release/github"
  66. ]
  67. },
  68. "jest": {
  69. "coverageThreshold": {
  70. "global": {
  71. "branches": 100,
  72. "functions": 100,
  73. "lines": 100,
  74. "statements": 100
  75. }
  76. },
  77. "projects": [
  78. {
  79. "displayName": "test",
  80. "testPathIgnorePatterns": [
  81. "<rootDir>/lib/.*",
  82. "<rootDir>/src/rules/__tests__/fixtures/*",
  83. "<rootDir>/src/rules/__tests__/test-utils.ts"
  84. ]
  85. },
  86. {
  87. "displayName": "lint",
  88. "runner": "jest-runner-eslint",
  89. "testMatch": [
  90. "<rootDir>/**/*.{js,ts}"
  91. ],
  92. "testPathIgnorePatterns": [
  93. "<rootDir>/lib/.*"
  94. ]
  95. }
  96. ]
  97. },
  98. "dependencies": {
  99. "@typescript-eslint/utils": "^5.10.0"
  100. },
  101. "devDependencies": {
  102. "@babel/cli": "^7.4.4",
  103. "@babel/core": "^7.4.4",
  104. "@babel/preset-env": "^7.4.4",
  105. "@babel/preset-typescript": "^7.3.3",
  106. "@commitlint/cli": "^16.0.0",
  107. "@commitlint/config-conventional": "^16.0.0",
  108. "@schemastore/package": "^0.0.6",
  109. "@semantic-release/changelog": "^6.0.0",
  110. "@semantic-release/git": "^10.0.0",
  111. "@types/dedent": "^0.7.0",
  112. "@types/jest": "^28.0.0",
  113. "@types/node": "^16.0.0",
  114. "@types/prettier": "^2.0.0",
  115. "@typescript-eslint/eslint-plugin": "^5.0.0",
  116. "@typescript-eslint/parser": "^5.0.0",
  117. "babel-jest": "^28.0.0",
  118. "babel-plugin-replace-ts-export-assignment": "^0.0.2",
  119. "dedent": "^0.7.0",
  120. "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
  121. "eslint-config-prettier": "^8.3.0",
  122. "eslint-plugin-eslint-comments": "^3.1.2",
  123. "eslint-plugin-eslint-plugin": "^4.0.0",
  124. "eslint-plugin-import": "^2.25.1",
  125. "eslint-plugin-node": "^11.0.0",
  126. "eslint-plugin-prettier": "^3.4.1",
  127. "eslint-remote-tester": "^3.0.0",
  128. "eslint-remote-tester-repositories": "~0.0.5",
  129. "husky": "^7.0.2",
  130. "is-ci": "^3.0.0",
  131. "jest": "^28.0.0",
  132. "jest-runner-eslint": "^1.0.0",
  133. "lint-staged": "^12.0.0",
  134. "pinst": "^3.0.0",
  135. "prettier": "^2.0.5",
  136. "rimraf": "^3.0.0",
  137. "semantic-release": "^19.0.0",
  138. "semver": "^7.3.5",
  139. "ts-node": "^10.2.1",
  140. "typescript": "^4.4.0"
  141. },
  142. "peerDependencies": {
  143. "@typescript-eslint/eslint-plugin": "^5.0.0",
  144. "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
  145. },
  146. "peerDependenciesMeta": {
  147. "@typescript-eslint/eslint-plugin": {
  148. "optional": true
  149. },
  150. "jest": {
  151. "optional": true
  152. }
  153. },
  154. "packageManager": "yarn@3.2.3",
  155. "engines": {
  156. "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  157. }
  158. }