package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 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.5.207",
  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/node": "^7.2.2",
  54. "@babel/preset-env": "^7.8.3",
  55. "@testing-library/jest-dom": "^5.8.0",
  56. "@testing-library/react": "^10.0.4",
  57. "@types/jest": "^24.0.23",
  58. "@types/lodash": "^4.14.149",
  59. "@types/node": "^12.12.7",
  60. "@types/react": "^16.9.11",
  61. "@types/react-dom": "^16.9.4",
  62. "@types/react-toast-notifications": "^2.4.0",
  63. "@types/styled-components": "^5.1.0",
  64. "@types/uuid": "^7.0.0",
  65. "@typescript-eslint/eslint-plugin": "^4.3.0",
  66. "@typescript-eslint/parser": "^4.3.0",
  67. "babel-plugin-styled-components": "^1.7.1",
  68. "cz-conventional-changelog": "3.3.0",
  69. "eslint": "^7.10.0",
  70. "eslint-config-prettier": "^6.11.0",
  71. "eslint-plugin-import": "^2.20.2",
  72. "eslint-plugin-jsx-a11y": "^6.2.3",
  73. "eslint-plugin-prettier": "^3.1.3",
  74. "eslint-plugin-react": "^7.19.0",
  75. "husky": "^4.3.0",
  76. "jest": "24.9.0",
  77. "lint-staged": "^10.4.0",
  78. "prettier": "^2.1.2",
  79. "react-test-renderer": "^16.5.2",
  80. "ts-jest": "^24.2.0",
  81. "typescript": "^4.0.3"
  82. },
  83. "engines": {
  84. "node": ">=10.0.0"
  85. },
  86. "config": {
  87. "commitizen": {
  88. "path": "./node_modules/cz-conventional-changelog"
  89. }
  90. }
  91. }