package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. "next": "9.5.0",
  34. "next-i18next": "4.3.0",
  35. "pdfjs-dist": "2.4.456",
  36. "print-js": "^1.0.63",
  37. "query-string": "5",
  38. "react": "16.13.0",
  39. "react-color": "2.17.3",
  40. "react-dom": "16.13.0",
  41. "react-i18next": "^11.3.4",
  42. "react-popper": "^1.3.6",
  43. "react-toast-notifications": "^2.4.0",
  44. "react-use-gesture": "^7.0.16",
  45. "rxjs": "^6.5.3",
  46. "styled-components": "5.1.1",
  47. "uuid": "^7.0.2",
  48. "webpack": "^4.41.2"
  49. },
  50. "license": "MIT",
  51. "devDependencies": {
  52. "@babel/cli": "^7.11.6",
  53. "@babel/core": "^7.11.6",
  54. "@babel/node": "^7.10.5",
  55. "@babel/preset-env": "^7.8.3",
  56. "@testing-library/jest-dom": "^5.8.0",
  57. "@testing-library/react": "^10.0.4",
  58. "@types/jest": "^24.0.23",
  59. "@types/lodash": "^4.14.149",
  60. "@types/node": "^12.12.7",
  61. "@types/react": "^16.9.11",
  62. "@types/react-dom": "^16.9.4",
  63. "@types/react-toast-notifications": "^2.4.0",
  64. "@types/styled-components": "^5.1.0",
  65. "@types/uuid": "^7.0.0",
  66. "@typescript-eslint/eslint-plugin": "^4.3.0",
  67. "@typescript-eslint/parser": "^4.3.0",
  68. "babel-plugin-styled-components": "^1.7.1",
  69. "cz-conventional-changelog": "3.3.0",
  70. "eslint": "^7.10.0",
  71. "eslint-config-prettier": "^6.11.0",
  72. "eslint-plugin-import": "^2.20.2",
  73. "eslint-plugin-jsx-a11y": "^6.2.3",
  74. "eslint-plugin-prettier": "^3.1.3",
  75. "eslint-plugin-react": "^7.19.0",
  76. "husky": "^4.3.0",
  77. "jest": "24.9.0",
  78. "lint-staged": "^10.4.0",
  79. "prettier": "^2.1.2",
  80. "react-test-renderer": "^16.5.2",
  81. "ts-jest": "^24.2.0",
  82. "typescript": "^4.0.3"
  83. },
  84. "engines": {
  85. "node": ">=10.0.0"
  86. },
  87. "config": {
  88. "commitizen": {
  89. "path": "./node_modules/cz-conventional-changelog"
  90. }
  91. }
  92. }