package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "react-hotkeys-hook",
  3. "version": "3.4.7",
  4. "repository": "https://JohannesKlauss@github.com/JohannesKlauss/react-keymap-hook.git",
  5. "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/",
  6. "author": "Johannes Klauss",
  7. "main": "dist/index.js",
  8. "typings": "dist/index.d.ts",
  9. "module": "dist/react-hotkeys-hook.esm.js",
  10. "files": [
  11. "dist",
  12. "src"
  13. ],
  14. "keywords": [
  15. "react",
  16. "hook",
  17. "hooks",
  18. "component",
  19. "hotkey",
  20. "shortcut",
  21. "keyboard",
  22. "shortcuts",
  23. "keypress",
  24. "hotkeys"
  25. ],
  26. "license": "MIT",
  27. "scripts": {
  28. "start": "tsdx watch",
  29. "build": "tsdx build",
  30. "test": "jest",
  31. "publish": "np"
  32. },
  33. "babel": {
  34. "presets": [
  35. "@babel/preset-env",
  36. "@babel/preset-typescript",
  37. "@babel/preset-react"
  38. ]
  39. },
  40. "jest": {
  41. "setupFilesAfterEnv": [
  42. "./setupTests.js"
  43. ],
  44. "testPathIgnorePatterns": [
  45. "pkg",
  46. ".docz",
  47. "docs"
  48. ]
  49. },
  50. "prettier": {
  51. "printWidth": 80,
  52. "semi": true,
  53. "singleQuote": true,
  54. "trailingComma": "es5"
  55. },
  56. "dependencies": {
  57. "hotkeys-js": "3.9.4"
  58. },
  59. "devDependencies": {
  60. "@babel/core": "7.18.9",
  61. "@babel/plugin-proposal-class-properties": "7.18.6",
  62. "@babel/preset-env": "7.18.9",
  63. "@babel/preset-react": "7.18.6",
  64. "@babel/preset-typescript": "7.18.6",
  65. "@testing-library/react": "13.3.0",
  66. "@testing-library/react-hooks": "8.0.1",
  67. "@testing-library/user-event": "13.5.0",
  68. "@types/jest": "27.5.2",
  69. "@types/react": "18.0.15",
  70. "@types/react-dom": "18.0.6",
  71. "eslint-plugin-prettier": "4.2.1",
  72. "jest": "26.6.3",
  73. "prettier": "2.7.1",
  74. "react": "18.2.0",
  75. "react-dom": "18.2.0",
  76. "react-test-renderer": "18.2.0",
  77. "tsdx": "0.14.1",
  78. "tslib": "2.4.0",
  79. "typescript": "4.7.4"
  80. },
  81. "peerDependencies": {
  82. "react": ">=16.8.1",
  83. "react-dom": ">=16.8.1"
  84. }
  85. }