Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "project": {
  4. "name": "..."
  5. },
  6. "apps": [
  7. {
  8. "name": "default",
  9. "root": "src",
  10. "outDir": "ci/dist-default",
  11. "assets": [
  12. "assets",
  13. "favicon.ico"
  14. ],
  15. "index": "index.html",
  16. "main": "main-default.ts",
  17. "polyfills": "polyfills.ts",
  18. "test": "test.ts",
  19. "tsconfig": "tsconfig.app.json",
  20. "testTsconfig": "tsconfig.spec.json",
  21. "prefix": "app",
  22. "styles": [
  23. "scss/style.scss",
  24. "../node_modules/ng2-toastr/bundles/ng2-toastr.min.css",
  25. "../node_modules/simple-line-icons/css/simple-line-icons.css"
  26. ],
  27. "scripts": [],
  28. "environmentSource": "environments/environment.ts",
  29. "environments": {
  30. "dev": "environments/environment.ts",
  31. "prod": "environments/environment.prod.ts"
  32. }
  33. },
  34. {
  35. "name": "admin",
  36. "root": "src",
  37. "outDir": "ci/dist-admin",
  38. "assets": [
  39. "assets",
  40. "favicon.ico"
  41. ],
  42. "index": "index.html",
  43. "main": "main-admin.ts",
  44. "polyfills": "polyfills.ts",
  45. "test": "test.ts",
  46. "tsconfig": "tsconfig.app.json",
  47. "testTsconfig": "tsconfig.spec.json",
  48. "prefix": "app",
  49. "styles": [
  50. "scss/style.scss",
  51. "../node_modules/ng2-toastr/bundles/ng2-toastr.min.css",
  52. "../node_modules/simple-line-icons/css/simple-line-icons.css"
  53. ],
  54. "scripts": [],
  55. "environmentSource": "environments/environment.ts",
  56. "environments": {
  57. "dev": "environments/environment.ts",
  58. "prod": "environments/environment.prod.ts"
  59. }
  60. }
  61. ],
  62. "e2e": {
  63. "protractor": {
  64. "config": "./protractor.conf.js"
  65. }
  66. },
  67. "lint": [
  68. {
  69. "project": "src/tsconfig.app.json"
  70. },
  71. {
  72. "project": "src/tsconfig.spec.json"
  73. },
  74. {
  75. "project": "e2e/tsconfig.e2e.json"
  76. }
  77. ],
  78. "test": {
  79. "karma": {
  80. "config": "./karma.conf.js"
  81. }
  82. },
  83. "defaults": {
  84. "styleExt": "scss",
  85. "prefixInterfaces": false
  86. }
  87. }
  88.  
  89. "scripts": {
  90. "ng": "ng",
  91. "start-admin": "ng serve --proxy-config=proxy.conf.json --app=admin --base-href=/admin/ --port=4201",
  92. "start-default": "ng serve --proxy-config=proxy.conf.json --app=default",
  93. "start": "concurrently --kill-others 'npm run start-default' 'npm run start-admin'",
  94. "build-admin": "ng build --app=admin --base-href=/admin/",
  95. "build-default": "ng build --app=default",
  96. "build": "concurrently 'npm run build-default' 'npm run build-admin'",
  97. "build-prod": "concurrently 'npm run build-default -- -prod' 'npm run build-admin -- -prod'"
  98. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement