package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "cms",
  3. "version": "1.0.0",
  4. "description": "czkj cms",
  5. "author": "cr",
  6. "keywords": [
  7. "cms",
  8. "czkj"
  9. ],
  10. "scripts": {
  11. "ng": "ng",
  12. "start": "ng serve --proxy-config proxy.conf.js --host 192.168.199.129 --port 4522 -o",
  13. "hmr": "ng serve --proxy-config proxy.conf.js -c=hmr",
  14. "build": "ng build --prod",
  15. "analyze": "ng build --prod --build-optimizer --stats-json",
  16. "lint": "npm run lint:ts && npm run lint:style",
  17. "lint:ts": "tslint -p src/tsconfig.app.json -c tslint.json 'src/**/*.ts'",
  18. "lint:style": "stylelint \"{src}/**/*.less\" --syntax less",
  19. "lint-staged": "lint-staged",
  20. "tslint-check": "tslint-config-prettier-check ./tslint.json",
  21. "e2e": "ng e2e",
  22. "test": "ng test --watch",
  23. "test-coverage": "ng test --code-coverage --watch=false",
  24. "color-less": "node scripts/color-less.js"
  25. },
  26. "dependencies": {
  27. "@angular/animations": "^6.1.0",
  28. "@angular/common": "^6.1.0",
  29. "@angular/compiler": "^6.1.0",
  30. "@angular/core": "^6.1.0",
  31. "@angular/forms": "^6.1.0",
  32. "@angular/http": "^6.1.0",
  33. "@angular/platform-browser": "^6.1.0",
  34. "@angular/platform-browser-dynamic": "^6.1.0",
  35. "@angular/router": "^6.1.0",
  36. "@antv/data-set": "^0.8.8",
  37. "@antv/g2": "^3.0.11",
  38. "@antv/g2-plugin-slider": "^2.0.2",
  39. "@delon/abc": "^2.0.0-rc.1",
  40. "@delon/acl": "^2.0.0-rc.1",
  41. "@delon/auth": "^2.0.0-rc.1",
  42. "@delon/cache": "^2.0.0-rc.1",
  43. "@delon/chart": "^2.0.0-rc.1",
  44. "@delon/form": "^2.0.0-rc.1",
  45. "@delon/mock": "^2.0.0-rc.1",
  46. "@delon/theme": "^2.0.0-rc.1",
  47. "@delon/util": "^2.0.0-rc.1",
  48. "@ngx-translate/core": "^10.0.1",
  49. "@ngx-translate/http-loader": "^3.0.1",
  50. "ajv": "^6.4.0",
  51. "core-js": "^2.5.4",
  52. "file-saver": "^1.3.8",
  53. "ng-zorro-antd": "^1.7.0",
  54. "ngx-color-picker": "^7.0.0",
  55. "ngx-countdown": "^3.0.0",
  56. "ngx-tinymce": "^2.0.0",
  57. "ngx-ueditor": "^2.0.0",
  58. "qrious": "^4.0.2",
  59. "rxjs": "^6.0.0",
  60. "screenfull": "^3.3.1",
  61. "zone.js": "^0.8.26"
  62. },
  63. "devDependencies": {
  64. "@angular-devkit/build-angular": "~0.8.0",
  65. "@angular/cli": "~6.2.1",
  66. "@angular/compiler-cli": "^6.1.0",
  67. "@angular/language-service": "^6.1.0",
  68. "@angularclass/hmr": "^2.1.3",
  69. "@types/jasmine": "~2.8.8",
  70. "@types/jasminewd2": "~2.0.3",
  71. "@types/node": "~8.9.4",
  72. "@types/jszip": "^3.1.3",
  73. "@types/mockjs": "^1.0.0",
  74. "codecov": "^3.1.0",
  75. "codelyzer": "~4.3.0",
  76. "jasmine-core": "~2.99.1",
  77. "jasmine-spec-reporter": "~4.2.1",
  78. "karma": "~3.0.0",
  79. "karma-chrome-launcher": "~2.2.0",
  80. "karma-coverage-istanbul-reporter": "~2.0.1",
  81. "karma-jasmine": "~1.1.2",
  82. "karma-jasmine-html-reporter": "^0.2.2",
  83. "protractor": "~5.4.0",
  84. "ts-node": "~7.0.0",
  85. "tslint": "~5.11.0",
  86. "tslint-config-prettier": "^1.12.0",
  87. "tslint-language-service": "^0.9.9",
  88. "typescript": "~2.9.2",
  89. "editorconfig-tools": "^0.1.1",
  90. "husky": "^1.1.0",
  91. "gh-pages": "^1.1.0",
  92. "lint-staged": "^7.1.0",
  93. "less-bundle-promise": "^1.0.7",
  94. "mockjs": "^1.0.1-beta3",
  95. "prettier": "^1.12.1",
  96. "prettier-stylelint": "^0.4.2",
  97. "stylelint": "^9.2.0",
  98. "stylelint-config-standard": "^18.2.0",
  99. "webpack-bundle-analyzer": "^2.11.2",
  100. "xlsx": "^0.12.12",
  101. "ng-alain": "^2.0.0-rc.1",
  102. "moment": "^2.22.2"
  103. },
  104. "husky": {
  105. "hooks": {
  106. "pre-commit": "npm run lint-staged"
  107. }
  108. },
  109. "lint-staged": {
  110. "*.{cmd,html,json,md,sh,txt,xml,yml}": [
  111. "editorconfig-tools fix",
  112. "git add"
  113. ],
  114. "*.ts": [
  115. "npm run lint:ts",
  116. "prettier --write",
  117. "git add"
  118. ],
  119. "*.less": [
  120. "npm run lint:style",
  121. "prettier --write",
  122. "git add"
  123. ],
  124. "ignore": [
  125. "src/assets/*"
  126. ]
  127. }
  128. }