package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "maxkey",
  3. "version": "4.1.x",
  4. "description": "Leading-Edge IAM Identity and Access Management",
  5. "author": "MaxKey <support@maxsso.net>",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://gitee.com/dromara/MaxKey"
  9. },
  10. "bugs": {
  11. "url": "https://gitee.com/dromara/MaxKey/issues"
  12. },
  13. "homepage": "https://www.maxkey.top",
  14. "license": "Apache-2.0",
  15. "keywords": [
  16. "maxkey",
  17. "antd",
  18. "ng-zorro-antd",
  19. "angular",
  20. "component",
  21. "scaffold"
  22. ],
  23. "scripts": {
  24. "npm:pre": "npm install --ignore-scripts --registry https://registry.npmmirror.com || npm install --ignore-scripts --registry https://registry.npmjs.org",
  25. "ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
  26. "ng": "ng",
  27. "start": "ng s -o --serve-path=/maxkey/ --port=8527",
  28. "hmr": "ng s -o --hmr",
  29. "build": "npm run ng-high-memory build",
  30. "analyze": "npm run ng-high-memory build -- --source-map",
  31. "analyze:view": "source-map-explorer dist/**/*.js",
  32. "lint": "npm run lint:ts && npm run lint:style",
  33. "lint:ts": "ng lint --fix",
  34. "lint:style": "npx stylelint 'src/**/*.less'",
  35. "e2e": "ng e2e",
  36. "test": "ng test --watch",
  37. "test-coverage": "ng test --code-coverage --watch=false",
  38. "color-less": "ng-alain-plugin-theme -t=colorLess",
  39. "theme": "ng-alain-plugin-theme -t=themeCss",
  40. "icon": "ng g ng-alain:plugin icon",
  41. "prepare": "husky install"
  42. },
  43. "dependencies": {
  44. "@angular/animations": "~13.3.0",
  45. "@angular/common": "~13.3.0",
  46. "@angular/compiler": "~13.3.0",
  47. "@angular/core": "~13.3.0",
  48. "@angular/forms": "~13.3.0",
  49. "@angular/platform-browser": "~13.3.0",
  50. "@angular/platform-browser-dynamic": "~13.3.0",
  51. "@angular/router": "~13.3.0",
  52. "@delon/abc": "^13.4.0",
  53. "@delon/acl": "^13.4.0",
  54. "@delon/auth": "^13.4.0",
  55. "@delon/cache": "^13.4.0",
  56. "@delon/chart": "^13.4.0",
  57. "@delon/form": "^13.4.0",
  58. "@delon/mock": "^13.4.0",
  59. "@delon/theme": "^13.4.0",
  60. "@delon/util": "^13.4.0",
  61. "ajv": "^8.10.0",
  62. "ajv-formats": "^2.1.1",
  63. "crypto-js": "^4.1.1",
  64. "monaco-editor": "^0.33.0",
  65. "ng-zorro-antd": "^13.1.1",
  66. "ngx-cookie-service": "^13.2.0",
  67. "ngx-tinymce": "^13.0.0",
  68. "ngx-ueditor": "^13.0.0",
  69. "npm": "^8.5.5",
  70. "rxjs": "~7.5.0",
  71. "screenfull": "^6.0.1",
  72. "tslib": "^2.3.0",
  73. "zone.js": "~0.11.4"
  74. },
  75. "devDependencies": {
  76. "@angular-devkit/build-angular": "~13.3.0",
  77. "@angular-eslint/builder": "~13.1.0",
  78. "@angular-eslint/eslint-plugin": "~13.1.0",
  79. "@angular-eslint/eslint-plugin-template": "~13.1.0",
  80. "@angular-eslint/schematics": "~13.1.0",
  81. "@angular-eslint/template-parser": "~13.1.0",
  82. "@angular/cli": "~13.3.0",
  83. "@angular/compiler-cli": "~13.3.0",
  84. "@angular/language-service": "~13.3.0",
  85. "@delon/testing": "^13.4.0",
  86. "@types/crypto-js": "^4.1.1",
  87. "@types/jasmine": "~3.10.0",
  88. "@types/jasminewd2": "~2.0.10",
  89. "@types/node": "^12.11.1",
  90. "@typescript-eslint/eslint-plugin": "~5.15.0",
  91. "@typescript-eslint/parser": "~5.15.0",
  92. "eslint": "^8.11.0",
  93. "eslint-config-prettier": "~8.5.0",
  94. "eslint-plugin-import": "~2.25.4",
  95. "eslint-plugin-jsdoc": "~38.0.4",
  96. "eslint-plugin-prefer-arrow": "~1.2.3",
  97. "eslint-plugin-prettier": "~4.0.0",
  98. "husky": "^7.0.4",
  99. "jasmine-core": "~4.0.0",
  100. "jasmine-spec-reporter": "^7.0.0",
  101. "karma": "~6.3.0",
  102. "karma-chrome-launcher": "~3.1.0",
  103. "karma-coverage": "~2.1.0",
  104. "karma-jasmine": "~4.0.0",
  105. "karma-jasmine-html-reporter": "~1.7.0",
  106. "lint-staged": "^12.3.7",
  107. "ng-alain": "13.4.0",
  108. "ng-alain-plugin-theme": "^13.0.3",
  109. "ng-alain-sts": "^0.0.2",
  110. "node-fetch": "^2.6.1",
  111. "prettier": "^2.6.0",
  112. "protractor": "~7.0.0",
  113. "source-map-explorer": "^2.5.2",
  114. "stylelint": "^14.6.0",
  115. "stylelint-config-prettier": "^9.0.3",
  116. "stylelint-config-rational-order": "^0.1.2",
  117. "stylelint-config-standard": "^25.0.0",
  118. "stylelint-declaration-block-no-ignored-properties": "^2.5.0",
  119. "stylelint-order": "^5.0.0",
  120. "ts-node": "~9.1.1",
  121. "typescript": "~4.6.2"
  122. },
  123. "lint-staged": {
  124. "(src)/**/*.{html,ts}": [
  125. "eslint --fix"
  126. ],
  127. "(src)/**/*.less": [
  128. "npm run lint:style"
  129. ]
  130. }
  131. }