web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.0 KiB

  1. {
  2. "name": "eslint-plugin-jest",
  3. "version": "24.3.5",
  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. "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
  25. "prepack": "rimraf lib && yarn build",
  26. "prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
  27. "prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
  28. "test": "jest",
  29. "tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
  30. "typecheck": "tsc -p .",
  31. "_postinstall": "is-ci || husky install",
  32. "prepublishOnly": "pinst --disable",
  33. "postpublish": "pinst --enable"
  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. "jest": {
  52. "coverageThreshold": {
  53. "global": {
  54. "branches": 100,
  55. "functions": 100,
  56. "lines": 100,
  57. "statements": 100
  58. }
  59. },
  60. "projects": [
  61. {
  62. "displayName": "test",
  63. "testEnvironment": "node",
  64. "testPathIgnorePatterns": [
  65. "<rootDir>/lib/.*",
  66. "<rootDir>/src/rules/__tests__/fixtures/*"
  67. ]
  68. },
  69. {
  70. "displayName": "lint",
  71. "runner": "jest-runner-eslint",
  72. "testMatch": [
  73. "<rootDir>/**/*.{js,ts}"
  74. ],
  75. "testPathIgnorePatterns": [
  76. "<rootDir>/lib/.*"
  77. ]
  78. }
  79. ]
  80. },
  81. "dependencies": {
  82. "@typescript-eslint/experimental-utils": "^4.0.1"
  83. },
  84. "devDependencies": {
  85. "@babel/cli": "^7.4.4",
  86. "@babel/core": "^7.4.4",
  87. "@babel/preset-env": "^7.4.4",
  88. "@babel/preset-typescript": "^7.3.3",
  89. "@commitlint/cli": "^12.0.0",
  90. "@commitlint/config-conventional": "^12.0.0",
  91. "@schemastore/package": "^0.0.6",
  92. "@semantic-release/changelog": "^5.0.1",
  93. "@semantic-release/git": "^9.0.0",
  94. "@types/dedent": "^0.7.0",
  95. "@types/jest": "^26.0.0",
  96. "@types/node": "^14.0.0",
  97. "@types/prettier": "^2.0.0",
  98. "@typescript-eslint/eslint-plugin": "^4.0.1",
  99. "@typescript-eslint/parser": "^4.0.1",
  100. "babel-jest": "^26.0.1",
  101. "babel-plugin-replace-ts-export-assignment": "^0.0.2",
  102. "dedent": "^0.7.0",
  103. "eslint": "^5.1.0 || ^6.0.0 || ^7.0.0",
  104. "eslint-config-prettier": "^6.5.0",
  105. "eslint-plugin-eslint-comments": "^3.1.2",
  106. "eslint-plugin-eslint-config": "^2.0.0",
  107. "eslint-plugin-eslint-plugin": "^2.0.0",
  108. "eslint-plugin-import": "^2.20.2",
  109. "eslint-plugin-node": "^11.0.0",
  110. "eslint-plugin-prettier": "^3.0.0",
  111. "husky": "^6.0.0",
  112. "is-ci": "^3.0.0",
  113. "jest": "^26.0.1",
  114. "jest-runner-eslint": "^0.10.0",
  115. "lint-staged": "^10.2.2",
  116. "pinst": "^2.0.0",
  117. "prettier": "^2.0.5",
  118. "resolve-from": "^5.0.0",
  119. "rimraf": "^3.0.0",
  120. "semantic-release": "^17.0.7",
  121. "ts-node": "^9.0.0",
  122. "typescript": "^4.0.0"
  123. },
  124. "peerDependencies": {
  125. "@typescript-eslint/eslint-plugin": ">= 4",
  126. "eslint": ">=5"
  127. },
  128. "peerDependenciesMeta": {
  129. "@typescript-eslint/eslint-plugin": {
  130. "optional": true
  131. }
  132. },
  133. "engines": {
  134. "node": ">=10"
  135. },
  136. "release": {
  137. "branches": [
  138. "main"
  139. ],
  140. "plugins": [
  141. "@semantic-release/commit-analyzer",
  142. "@semantic-release/release-notes-generator",
  143. "@semantic-release/changelog",
  144. "@semantic-release/npm",
  145. "@semantic-release/git",
  146. "@semantic-release/github"
  147. ]
  148. }
  149. }