package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "eslint-plugin-promise",
  3. "version": "5.2.0",
  4. "description": "Enforce best practices for JavaScript promises",
  5. "keywords": [
  6. "eslint",
  7. "eslintplugin",
  8. "eslint-plugin",
  9. "promise",
  10. "promises"
  11. ],
  12. "author": "jden <jason@denizac.org>",
  13. "contributors": [
  14. "Brett Zamir"
  15. ],
  16. "repository": "https://github.com/xjamundx/eslint-plugin-promise",
  17. "homepage": "https://github.com/xjamundx/eslint-plugin-promise",
  18. "bugs": "https://github.com/xjamundx/eslint-plugin-promise/issues",
  19. "scripts": {
  20. "precommit": "lint-staged --concurrent false",
  21. "test": "jest --coverage",
  22. "lint": "eslint rules __tests__ index.js",
  23. "format": "prettier --write '**/*.js'"
  24. },
  25. "dependencies": {},
  26. "devDependencies": {
  27. "doctoc": "^2.0.0",
  28. "eslint": "^7.23.0",
  29. "eslint-config-prettier": "^8.1.0",
  30. "eslint-plugin-eslint-plugin": "^3.0.0",
  31. "eslint-plugin-jest": "^24.3.4",
  32. "eslint-plugin-node": "^11.1.0",
  33. "eslint-plugin-prettier": "^3.3.1",
  34. "husky": "^6.0.0",
  35. "jest": "^26.6.3",
  36. "jest-runner-eslint": "^0.10.0",
  37. "lint-staged": "^10.5.4",
  38. "prettier": "^2.2.1"
  39. },
  40. "peerDependencies": {
  41. "eslint": "^7.0.0"
  42. },
  43. "engines": {
  44. "node": "^10.12.0 || >=12.0.0"
  45. },
  46. "license": "ISC",
  47. "lint-staged": {
  48. "{README.md,CONTRIBUTING.md}": [
  49. "doctoc --maxlevel 3 --notitle"
  50. ],
  51. "*.js": [
  52. "prettier --write",
  53. "eslint --fix"
  54. ],
  55. "*.+(json|md)": [
  56. "prettier --write"
  57. ]
  58. },
  59. "prettier": {
  60. "semi": false,
  61. "singleQuote": true,
  62. "proseWrap": "always"
  63. },
  64. "jest": {
  65. "coverageThreshold": {
  66. "global": {
  67. "branches": 100,
  68. "functions": 100,
  69. "lines": 100,
  70. "statements": 100
  71. }
  72. },
  73. "projects": [
  74. {
  75. "displayName": "test",
  76. "testEnvironment": "node"
  77. },
  78. {
  79. "runner": "jest-runner-eslint",
  80. "displayName": "lint",
  81. "testMatch": [
  82. "<rootDir>/rules/**/*.js",
  83. "<rootDir>/__tests__/**/*.js",
  84. "<rootDir>/index.js"
  85. ]
  86. }
  87. ]
  88. }
  89. }