package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "gs_nuxt",
  3. "version": "1.0.0",
  4. "private": true,
  5. "scripts": {
  6. "dev": "cross-env BASE_URL=localhost:8090/website/ NODE_ENV=development nuxt",
  7. "generate": "cross-env BASE_URL=https://ggzypz.org.cn/prod-api/ NODE_ENV=development nuxt generate",
  8. "build": "cross-env BASE_URL=https://ggzypz.org.cn/prod-api/ NODE_ENV=production nuxt build",
  9. "start": "cross-env BASE_URL=https://ggzypz.org.cn/prod-api/ NODE_ENV=production nuxt start",
  10. "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
  11. "lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
  12. "lint:prettier": "prettier --check .",
  13. "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
  14. "lintfix": "prettier --write --list-different . && npm run lint:js -- --fix && npm run lint:style -- --fix",
  15. "prepare": "husky install",
  16. "test": "jest"
  17. },
  18. "lint-staged": {
  19. "*.{js,vue}": "eslint --cache",
  20. "*.{css,scss,sass,html,vue}": "stylelint",
  21. "*.**": "prettier --check --ignore-unknown"
  22. },
  23. "dependencies": {
  24. "@nuxtjs/axios": "^5.13.6",
  25. "axios": "^0.24.0",
  26. "core-js": "^3.19.3",
  27. "cross-env": "^7.0.3",
  28. "echarts": "^5.3.2",
  29. "element-ui": "^2.15.6",
  30. "js-cookie": "^3.0.1",
  31. "nuxt": "^2.15.8",
  32. "vue": "^2.6.14",
  33. "vue-server-renderer": "^2.6.14",
  34. "vue-template-compiler": "^2.6.14",
  35. "webpack": "^4.46.0"
  36. },
  37. "devDependencies": {
  38. "@babel/eslint-parser": "^7.16.3",
  39. "@commitlint/cli": "^15.0.0",
  40. "@commitlint/config-conventional": "^15.0.0",
  41. "@gauseen/nuxt-proxy": "^1.0.1",
  42. "@nuxt/types": "^2.15.8",
  43. "@nuxtjs/eslint-config": "^8.0.0",
  44. "@nuxtjs/eslint-module": "^3.0.2",
  45. "@nuxtjs/stylelint-module": "^4.1.0",
  46. "@vue/test-utils": "^1.3.0",
  47. "babel-core": "7.0.0-bridge.0",
  48. "babel-jest": "^27.4.4",
  49. "eslint-config-prettier": "^8.3.0",
  50. "eslint-plugin-nuxt": "^3.1.0",
  51. "eslint-plugin-vue": "^8.2.0",
  52. "husky": "^7.0.4",
  53. "jest": "^27.4.4",
  54. "lint-staged": "^12.1.2",
  55. "postcss-html": "^1.3.0",
  56. "prettier": "^2.5.1",
  57. "stylelint": "^14.1.0",
  58. "stylelint-config-prettier": "^9.0.3",
  59. "stylelint-config-recommended-vue": "^1.1.0",
  60. "stylelint-config-standard": "^24.0.0",
  61. "vue-jest": "^3.0.4"
  62. }
  63. }