package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "site-web",
  3. "version": "1.0.0",
  4. "description": "",
  5. "main": "index.js",
  6. "scripts": {
  7. "dev": "webpack-dev-server --config config/webpack.dev.config.js",
  8. "build": "webpack --config config/webpack.prod.config.js",
  9. "type-check": "tsc --noEmit",
  10. "type-check:watch": "npm run type-check -- --watch",
  11. "build:types": "tsc --emitDeclarationOnly",
  12. "lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
  13. "test": "jest"
  14. },
  15. "keywords": [],
  16. "author": "",
  17. "license": "ISC",
  18. "dependencies": {
  19. "@ant-design/dark-theme": "^2.0.2",
  20. "@ant-design/icons": "^4.2.2",
  21. "@hot-loader/react-dom": "^16.13.0",
  22. "@testing-library/react": "^10.3.0",
  23. "@testing-library/react-hooks": "^3.3.0",
  24. "@types/react": "^16.9.35",
  25. "@types/react-dom": "^16.9.8",
  26. "@types/react-helmet": "^6.0.0",
  27. "@types/react-router": "^5.1.7",
  28. "@types/react-router-dom": "^5.1.5",
  29. "@types/swiper": "^5.3.1",
  30. "ahooks": "^2.0.1",
  31. "antd": "4.9.4",
  32. "axios": "^0.19.2",
  33. "babel-jest": "^26.0.1",
  34. "babel-plugin-import": "^1.13.0",
  35. "caniuse-lite": "^1.0.30001168",
  36. "copy-webpack-plugin": "^6.0.1",
  37. "core-js": "^3.6.5",
  38. "craco-less": "^1.16.0",
  39. "css-loader": "^3.5.3",
  40. "file-loader": "^6.0.0",
  41. "html-webpack-plugin": "^4.3.0",
  42. "less": "^3.11.1",
  43. "less-loader": "^6.1.0",
  44. "node-sass": "^4.14.1",
  45. "postcss-loader": "^3.0.0",
  46. "react": "^16.13.1",
  47. "react-dom": "^16.13.1",
  48. "react-helmet": "^6.1.0",
  49. "react-hot-loader": "^4.12.21",
  50. "react-loading": "^2.0.3",
  51. "react-particles-js": "^3.2.1",
  52. "react-router-dom": "^5.2.0",
  53. "react-slick": "^0.26.1",
  54. "react-test-renderer": "^16.13.1",
  55. "sass": "^1.26.5",
  56. "sass-loader": "^8.0.2",
  57. "source-map-loader": "^0.2.4",
  58. "style-loader": "^1.2.1",
  59. "thread-loader": "^2.1.3",
  60. "ts-jest": "^26.1.1",
  61. "typescript": "^3.9.3",
  62. "uglifyjs-webpack-plugin": "^2.2.0",
  63. "url-loader": "^4.1.0",
  64. "webpack": "4.40.2",
  65. "webpack-dev-server": "^3.11.0",
  66. "webpack-merge": "^4.2.2",
  67. "write-file-webpack-plugin": "^4.5.1"
  68. },
  69. "devDependencies": {
  70. "@babel/core": "^7.9.6",
  71. "@babel/plugin-proposal-class-properties": "^7.8.3",
  72. "@babel/plugin-proposal-object-rest-spread": "^7.9.6",
  73. "@babel/preset-env": "^7.9.6",
  74. "@babel/preset-react": "^7.9.4",
  75. "@babel/preset-typescript": "^7.9.0",
  76. "@typescript-eslint/eslint-plugin": "^3.0.0",
  77. "@typescript-eslint/parser": "^3.0.0",
  78. "babel-loader": "^8.1.0",
  79. "clean-webpack-plugin": "^3.0.0",
  80. "eslint": "^7.1.0",
  81. "eslint-config-prettier": "^6.11.0",
  82. "eslint-plugin-prettier": "^3.1.3",
  83. "fork-ts-checker-webpack-plugin": "^4.1.4",
  84. "jest": "^26.0.1",
  85. "mini-css-extract-plugin": "^0.9.0",
  86. "prettier": "^2.0.5",
  87. "webpack-cli": "^3.3.11"
  88. },
  89. "husky": {
  90. "hooks": {
  91. "pre-commit": "lint-staged"
  92. }
  93. },
  94. "lint-staged": {
  95. "*.{js,ts,tsx}": [
  96. "eslint --fix"
  97. ]
  98. }
  99. }