aurelia.json 4.3 KB

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