aurelia.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "name": "factsbox-generator",
  3. "type": "project:application",
  4. "platform": {
  5. "id": "web",
  6. "displayName": "Web",
  7. "output": "scripts",
  8. "index": "index.html"
  9. },
  10. "transpiler": {
  11. "id": "babel",
  12. "displayName": "Babel",
  13. "fileExtension": ".js",
  14. "options": {
  15. "plugins": [
  16. "transform-es2015-modules-amd"
  17. ]
  18. },
  19. "source": "src/**/*.js"
  20. },
  21. "markupProcessor": {
  22. "id": "none",
  23. "displayName": "None",
  24. "fileExtension": ".html",
  25. "source": "src/**/*.html"
  26. },
  27. "cssProcessor": {
  28. "id": "sass",
  29. "displayName": "Sass",
  30. "fileExtension": ".scss",
  31. "source": "src/**/*.scss"
  32. },
  33. "editor": {
  34. "id": "vscode",
  35. "displayName": "Visual Studio Code"
  36. },
  37. "unitTestRunner": {
  38. "id": "karma",
  39. "displayName": "Karma",
  40. "source": "test/unit/**/*.js"
  41. },
  42. "paths": {
  43. "root": "src",
  44. "resources": "resources",
  45. "elements": "resources/elements",
  46. "attributes": "resources/attributes",
  47. "valueConverters": "resources/value-converters",
  48. "bindingBehaviors": "resources/binding-behaviors"
  49. },
  50. "testFramework": {
  51. "id": "jasmine",
  52. "displayName": "Jasmine"
  53. },
  54. "build": {
  55. "targets": [
  56. {
  57. "id": "web",
  58. "displayName": "Web",
  59. "output": "scripts",
  60. "index": "index.html"
  61. }
  62. ],
  63. "loader": {
  64. "type": "require",
  65. "configTarget": "vendor-bundle.js",
  66. "includeBundleMetadataInConfig": "auto",
  67. "plugins": [
  68. {
  69. "name": "text",
  70. "extensions": [
  71. ".html",
  72. ".css"
  73. ],
  74. "stub": true
  75. }
  76. ]
  77. },
  78. "options": {
  79. "minify": "stage & prod",
  80. "sourcemaps": "dev & stage"
  81. },
  82. "bundles": [
  83. {
  84. "name": "app-bundle.js",
  85. "source": [
  86. "[**/*.js]",
  87. "**/*.{css,html}"
  88. ]
  89. },
  90. {
  91. "name": "vendor-bundle.js",
  92. "prepend": [
  93. "node_modules/bluebird/js/browser/bluebird.core.js",
  94. "scripts/require.js"
  95. ],
  96. "dependencies": [
  97. "aurelia-binding",
  98. "aurelia-bootstrapper",
  99. "aurelia-dependency-injection",
  100. "aurelia-event-aggregator",
  101. "aurelia-framework",
  102. "aurelia-history",
  103. "aurelia-history-browser",
  104. "aurelia-loader",
  105. "aurelia-loader-default",
  106. "aurelia-logging",
  107. "aurelia-logging-console",
  108. "aurelia-metadata",
  109. "aurelia-pal",
  110. "aurelia-pal-browser",
  111. "aurelia-path",
  112. "aurelia-polyfills",
  113. "aurelia-route-recognizer",
  114. "aurelia-router",
  115. "aurelia-task-queue",
  116. "aurelia-templating",
  117. "aurelia-templating-binding",
  118. {
  119. "name": "text",
  120. "path": "../scripts/text"
  121. },
  122. {
  123. "name": "aurelia-templating-resources",
  124. "path": "../node_modules/aurelia-templating-resources/dist/amd",
  125. "main": "aurelia-templating-resources"
  126. },
  127. {
  128. "name": "aurelia-templating-router",
  129. "path": "../node_modules/aurelia-templating-router/dist/amd",
  130. "main": "aurelia-templating-router"
  131. },
  132. {
  133. "name": "aurelia-testing",
  134. "path": "../node_modules/aurelia-testing/dist/amd",
  135. "main": "aurelia-testing",
  136. "env": "dev"
  137. },
  138. {
  139. "name": "aurelia-fetch-client",
  140. "path": "../node_modules/aurelia-fetch-client/dist/amd",
  141. "main": "aurelia-fetch-client"
  142. },
  143. {
  144. "name": "fetch",
  145. "path": "../node_modules/whatwg-fetch",
  146. "main": "fetch"
  147. }
  148. ]
  149. }
  150. ]
  151. }
  152. }