package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "eslint-plugin-promise",
  3. "version": "3.8.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. "repository": "git@github.com:xjamundx/eslint-plugin-promise.git",
  14. "scripts": {
  15. "precommit": "lint-staged",
  16. "test": "jest",
  17. "lint": "eslint index.js rules __tests__ --ignore-pattern '**/*.json'"
  18. },
  19. "devDependencies": {
  20. "doctoc": "^1.3.0",
  21. "eslint": "^4.17.0",
  22. "eslint-config-prettier": "^2.9.0",
  23. "eslint-config-standard": "^11.0.0-beta.0",
  24. "eslint-plugin-eslint-plugin": "^1.4.0",
  25. "eslint-plugin-import": "^2.8.0",
  26. "eslint-plugin-jest": "^21.12.2",
  27. "eslint-plugin-node": "^6.0.0",
  28. "eslint-plugin-prettier": "^2.6.0",
  29. "eslint-plugin-promise": "./",
  30. "eslint-plugin-standard": "^3.0.1",
  31. "husky": "^0.14.3",
  32. "jest": "^22.4.2",
  33. "jest-runner-eslint": "^0.4.0",
  34. "lint-staged": "^6.1.0",
  35. "prettier": "^1.10.2"
  36. },
  37. "engines": {
  38. "node": ">=4"
  39. },
  40. "license": "ISC",
  41. "lint-staged": {
  42. "concurrent": false,
  43. "linters": {
  44. "{README.md,CONTRIBUTING.md}": [
  45. "doctoc --maxlevel 3 --notitle",
  46. "git add"
  47. ],
  48. "*.js": ["prettier --write", "eslint --fix", "git add"],
  49. "*.+(json|md)": ["prettier --write", "git add"]
  50. }
  51. },
  52. "prettier": {
  53. "semi": false,
  54. "singleQuote": true,
  55. "proseWrap": "always"
  56. },
  57. "jest": {
  58. "projects": [
  59. {
  60. "displayName": "test",
  61. "testEnvironment": "node"
  62. },
  63. {
  64. "runner": "jest-runner-eslint",
  65. "displayName": "lint",
  66. "testMatch": [
  67. "<rootDir>/rules/**/*.js",
  68. "<rootDir>/__tests__/**/*.js",
  69. "<rootDir>/index.js"
  70. ]
  71. }
  72. ]
  73. }
  74. }