Skip to content

Commit 3db90e5

Browse files
committed
added webpack specific info
1 parent 072a0fc commit 3db90e5

File tree

1 file changed

+32
-7
lines changed

1 file changed

+32
-7
lines changed

aurelia_json-schema.json

+32-7
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
"id": "/properties/markupProcessor/properties/source",
346346
"type": ["string", "array"],
347347
"title": "Markup source",
348-
"description": "A glob pattern (or array of glob patterns) to the markup sources"
348+
"description": "A glob pattern (or array of glob patterns) to the markup sources. In case of Webpack this can be an empty string."
349349
}
350350
},
351351
"type": "object",
@@ -397,6 +397,27 @@
397397
"type": "string",
398398
"title": "Output",
399399
"description": "A folder relative from project root where the bundles will be created"
400+
},
401+
"hmr": {
402+
"id": "/properties/platform/properties/hmr",
403+
"type": "boolean",
404+
"default": false,
405+
"title": "(ONLY WP) Hot Module Reloading",
406+
"description": "ONLY FOR WEBPACK. Define whether hot module reloading should be used with the dev server"
407+
},
408+
"port": {
409+
"id": "/properties/platform/properties/port",
410+
"type": "integer",
411+
"default": 8080,
412+
"title": "(ONLY WP) Dev Server Port",
413+
"description": "ONLY FOR WEBPACK. Define the default port to be used for the dev server"
414+
},
415+
"open": {
416+
"id": "/properties/platform/properties/port",
417+
"type": "boolean",
418+
"default": false,
419+
"title": "(ONLY WP) Auto open default browser",
420+
"description": "ONLY FOR WEBPACK. Should the default browser be opened automatically"
400421
}
401422
},
402423
"type": "object",
@@ -459,7 +480,7 @@
459480
"id": "/properties/transpiler/properties/source",
460481
"type": ["string", "array"],
461482
"title": "Transpiler sources",
462-
"description": "A glob pattern (or array of glob patterns) for the sources processed by the transpiler"
483+
"description": "A glob pattern (or array of glob patterns) for the sources processed by the transpiler. In case of Webpack this can be an empty string"
463484
},
464485
"options": {
465486
"id": "/properties/transpiler/properties/options",
@@ -484,23 +505,27 @@
484505
"properties": {
485506
"displayName": {
486507
"id": "/properties/unitTestRunner/properties/displayName",
487-
"type": "string"
508+
"type": "string",
509+
"title": "Display name",
510+
"description": "The name of the configured testrunner"
488511
},
489512
"id": {
490513
"id": "/properties/unitTestRunner/properties/id",
491-
"type": "string"
514+
"type": "string",
515+
"title": "Testrunner Id",
516+
"description": "The id of the configured testrunner"
492517
},
493518
"source": {
494519
"id": "/properties/unitTestRunner/properties/source",
495520
"type": "string",
496521
"title": "Test source files",
497-
"description": "Pointing to the spec files of your application",
522+
"description": "Pointing to the spec files of your application. Can be empty for Webpack",
498523
"default": "test/unit/**/*.js"
499524
}
500525
},
501-
"type": "object",
526+
"type": ["object", "array"],
502527
"title": "Test runner",
503-
"description": "The testrunner used for your application",
528+
"description": "The testrunner used for your application. In case of Webpack this should be an array of testrunner configurations",
504529
"required": ["displayName", "id", "source"]
505530
}
506531
},

0 commit comments

Comments
 (0)