package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "hertzbeat-web-app",
  3. "version": "0.0.0",
  4. "scripts": {
  5. "ng": "ng",
  6. "start": "ng s -o",
  7. "build": "npm run ng-high-memory build",
  8. "watch": "ng build --watch --configuration development",
  9. "test": "ng test",
  10. "ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
  11. "hmr": "ng s -o --hmr",
  12. "analyze": "npm run ng-high-memory build -- --source-map",
  13. "analyze:view": "source-map-explorer dist/**/*.js",
  14. "test-coverage": "ng test --code-coverage --watch=false",
  15. "color-less": "ng-alain-plugin-theme -t=colorLess",
  16. "theme": "ng-alain-plugin-theme -t=themeCss",
  17. "icon": "ng g ng-alain:plugin icon",
  18. "lint": "npm run lint:ts && npm run lint:style",
  19. "lint:ts": "ng lint --fix",
  20. "lint:style": "stylelint \"src/**/*.less\" --syntax less --fix"
  21. },
  22. "private": true,
  23. "dependencies": {
  24. "@angular/animations": "~12.2.0",
  25. "@angular/cdk": "~12.2.0",
  26. "@angular/common": "~12.2.0",
  27. "@angular/compiler": "~12.2.0",
  28. "@angular/core": "~12.2.0",
  29. "@angular/forms": "~12.2.0",
  30. "@angular/platform-browser": "~12.2.0",
  31. "@angular/platform-browser-dynamic": "~12.2.0",
  32. "@angular/router": "~12.2.0",
  33. "@delon/abc": "^12.4.2",
  34. "@delon/acl": "^12.4.2",
  35. "@delon/auth": "^12.4.2",
  36. "@delon/cache": "^12.4.2",
  37. "@delon/chart": "^12.4.2",
  38. "@delon/form": "^12.4.2",
  39. "@delon/mock": "^12.4.2",
  40. "@delon/theme": "^12.4.2",
  41. "@delon/util": "^12.4.2",
  42. "ajv": "^8.6.2",
  43. "ajv-formats": "^2.1.1",
  44. "echarts": "^5.2.2",
  45. "ng-alain": "^12.4.2",
  46. "ng-zorro-antd": "^12.0.2",
  47. "ngx-echarts": "^v7.1.0",
  48. "rxjs": "~6.6.0",
  49. "screenfull": "^5.1.0",
  50. "tslib": "^2.3.0",
  51. "zone.js": "~0.11.4"
  52. },
  53. "devDependencies": {
  54. "@angular-devkit/build-angular": "~12.2.13",
  55. "@angular-eslint/builder": "~12.3.1",
  56. "@angular-eslint/eslint-plugin": "~12.3.1",
  57. "@angular-eslint/eslint-plugin-template": "~12.3.1",
  58. "@angular-eslint/schematics": "~12.3.1",
  59. "@angular-eslint/template-parser": "~12.3.1",
  60. "@angular/cli": "~12.2.13",
  61. "@angular/compiler-cli": "~12.2.0",
  62. "@angular/language-service": "~12.2.0",
  63. "@delon/testing": "^12.4.2",
  64. "@ngx-formly/schematics": "^5.10.23",
  65. "@types/echarts": "^4.9.12",
  66. "@types/jasmine": "~3.8.0",
  67. "@types/node": "^12.11.1",
  68. "@typescript-eslint/eslint-plugin": "~4.29.2",
  69. "@typescript-eslint/parser": "~4.29.2",
  70. "eslint": "^7.32.0",
  71. "eslint-config-prettier": "^2.2.1",
  72. "eslint-plugin-import": "~2.24.1",
  73. "eslint-plugin-jsdoc": "~36.0.7",
  74. "eslint-plugin-prefer-arrow": "~1.2.3",
  75. "eslint-plugin-prettier": "^2.2.1",
  76. "jasmine-core": "~3.8.0",
  77. "karma": "~6.3.0",
  78. "karma-chrome-launcher": "~3.1.0",
  79. "karma-coverage": "~2.0.3",
  80. "karma-jasmine": "~4.0.0",
  81. "karma-jasmine-html-reporter": "~1.7.0",
  82. "lint-staged": "^11.1.2",
  83. "ng-alain": "^12.4.2",
  84. "ng-alain-plugin-theme": "^12.0.0",
  85. "prettier": "^2.2.1",
  86. "source-map-explorer": "^2.5.2",
  87. "stylelint": "^13.13.1",
  88. "stylelint-config-prettier": "^8.0.2",
  89. "stylelint-config-rational-order": "^0.1.2",
  90. "stylelint-config-standard": "^22.0.0",
  91. "stylelint-declaration-block-no-ignored-properties": "^2.4.0",
  92. "stylelint-order": "^4.1.0",
  93. "typescript": "~4.3.5"
  94. },
  95. "lint-staged": {
  96. "(src)/**/*.{html,ts}": [
  97. "eslint --fix"
  98. ],
  99. "(src)/**/*.less": [
  100. "stylelint --syntax less --fix"
  101. ]
  102. }
  103. }