package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "create-next-example-app",
  3. "version": "1.0.0",
  4. "scripts": {
  5. "dev": "next -p 8080",
  6. "build": "next build",
  7. "start": "NODE_ENV=production next start -p 8080",
  8. "export": "NODE_ENV=production ENV=production npm run build && next export",
  9. "type-check": "tsc --pretty --noEmit",
  10. "format": "prettier --write .",
  11. "lint": "eslint . --ext ts --ext tsx --ext js",
  12. "test": "jest"
  13. },
  14. "husky": {
  15. "hooks": {
  16. "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
  17. "pre-commit": "lint-staged && yarn test && yarn type-check"
  18. }
  19. },
  20. "lint-staged": {
  21. "*.@(js|ts|tsx)": [
  22. "yarn lint",
  23. "yarn format"
  24. ]
  25. },
  26. "dependencies": {
  27. "babel-plugin-inline-react-svg": "^1.1.0",
  28. "dayjs": "^1.8.23",
  29. "i18next": "^19.4.0",
  30. "i18next-browser-languagedetector": "^4.0.2",
  31. "i18next-http-backend": "^1.0.21",
  32. "lodash": "^4.17.15",
  33. "mobile-detect": "^1.4.4",
  34. "next": "9.5.0",
  35. "next-i18next": "4.3.0",
  36. "pdfjs-dist": "2.4.456",
  37. "print-js": "^1.0.63",
  38. "query-string": "5",
  39. "react": "16.13.0",
  40. "react-color": "2.17.3",
  41. "react-dom": "16.13.0",
  42. "react-i18next": "^11.3.4",
  43. "react-popper": "^1.3.6",
  44. "react-toast-notifications": "^2.4.0",
  45. "react-use-gesture": "^7.0.16",
  46. "rxjs": "^6.5.3",
  47. "styled-components": "5.1.1",
  48. "uuid": "^7.0.2",
  49. "webpack": "^4.41.2"
  50. },
  51. "license": "MIT",
  52. "devDependencies": {
  53. "@babel/cli": "^7.11.6",
  54. "@babel/core": "^7.11.6",
  55. "@babel/node": "^7.10.5",
  56. "@babel/preset-env": "^7.8.3",
  57. "@testing-library/jest-dom": "^5.8.0",
  58. "@testing-library/react": "^10.0.4",
  59. "@types/jest": "^24.0.23",
  60. "@types/lodash": "^4.14.149",
  61. "@types/node": "^12.12.7",
  62. "@types/react": "^16.9.11",
  63. "@types/react-dom": "^16.9.4",
  64. "@types/react-toast-notifications": "^2.4.0",
  65. "@types/styled-components": "^5.1.0",
  66. "@types/uuid": "^7.0.0",
  67. "@typescript-eslint/eslint-plugin": "^4.3.0",
  68. "@typescript-eslint/parser": "^4.3.0",
  69. "babel-plugin-styled-components": "^1.7.1",
  70. "cz-conventional-changelog": "3.3.0",
  71. "eslint": "^7.10.0",
  72. "eslint-config-prettier": "^6.11.0",
  73. "eslint-plugin-import": "^2.20.2",
  74. "eslint-plugin-jsx-a11y": "^6.2.3",
  75. "eslint-plugin-prettier": "^3.1.3",
  76. "eslint-plugin-react": "^7.19.0",
  77. "husky": "^4.3.0",
  78. "jest": "24.9.0",
  79. "lint-staged": "^10.4.0",
  80. "prettier": "^2.1.2",
  81. "react-test-renderer": "^16.5.2",
  82. "ts-jest": "^24.2.0",
  83. "typescript": "^4.0.3"
  84. },
  85. "engines": {
  86. "node": ">=10.0.0"
  87. },
  88. "config": {
  89. "commitizen": {
  90. "path": "./node_modules/cz-conventional-changelog"
  91. }
  92. }
  93. }