.angular-cli.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "project": {
  4. "name": "ng-alain"
  5. },
  6. "apps": [{
  7. "root": "src",
  8. "outDir": "dist",
  9. "assets": [
  10. "assets",
  11. "favicon.ico"
  12. ],
  13. "index": "index.html",
  14. "main": "main.ts",
  15. "polyfills": "polyfills.ts",
  16. "test": "test.ts",
  17. "tsconfig": "tsconfig.app.json",
  18. "testTsconfig": "tsconfig.spec.json",
  19. "prefix": "",
  20. "styles": [
  21. "styles.less"
  22. ],
  23. "scripts": [
  24. "../node_modules/@antv/g2/dist/g2.min.js",
  25. "../node_modules/@antv/data-set/dist/data-set.min.js",
  26. "../node_modules/@antv/g2-plugin-slider/dist/g2-plugin-slider.min.js"
  27. ],
  28. "environmentSource": "environments/environment.ts",
  29. "environments": {
  30. "dev": "environments/environment.ts",
  31. "prod": "environments/environment.prod.ts",
  32. "hmr": "environments/environment.hmr.ts"
  33. }
  34. }],
  35. "e2e": {
  36. "protractor": {
  37. "config": "./protractor.conf.js"
  38. }
  39. },
  40. "lint": [{
  41. "project": "src/tsconfig.app.json",
  42. "exclude": "**/node_modules/**"
  43. },
  44. {
  45. "project": "src/tsconfig.spec.json",
  46. "exclude": "**/node_modules/**"
  47. },
  48. {
  49. "project": "e2e/tsconfig.e2e.json",
  50. "exclude": "**/node_modules/**"
  51. }
  52. ],
  53. "test": {
  54. "karma": {
  55. "config": "./karma.conf.js"
  56. }
  57. },
  58. "defaults": {
  59. "styleExt": "less",
  60. "class": {
  61. "spec": false
  62. },
  63. "component": {
  64. "flat": false,
  65. "spec": false,
  66. "inlineStyle": true,
  67. "inlineTemplate": false
  68. },
  69. "directive": {
  70. "spec": false
  71. },
  72. "guard": {
  73. "spec": false
  74. },
  75. "interface": {
  76. "prefix": "I"
  77. },
  78. "module": {
  79. "spec": false
  80. },
  81. "pipe": {
  82. "spec": true
  83. },
  84. "service": {
  85. "spec": false
  86. }
  87. }
  88. }