write mechanism to provide local spec JSON to SwaggerUIBundle

This commit is contained in:
RVKen
2017-06-28 18:09:24 +02:00
parent 94a1997c08
commit 8324486b27
4 changed files with 48 additions and 33 deletions

View File

@@ -34,7 +34,8 @@
"just-test": "karma start --config karma.conf.js",
"just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package",
"e2e": "nightwatch test/e2e/scenarios --config test/e2e/nightwatch.json --verbose",
"e2e-initial-render": "nightwatch test/e2e/scenarios --config test/e2e/nightwatch.json --group initial-render"
"e2e-initial-render": "nightwatch test/e2e/scenarios --config test/e2e/nightwatch.json --group initial-render",
"dev:e2e": "TEST_SPEC_NAME=1.json webpack-dev-server --host 0.0.0.0 --config webpack-hot-dev-server.config.js --inline --hot --progress --content-base dev-helpers/"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
@@ -101,7 +102,7 @@
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "0.11.2",
"git-describe": "^4.0.1",
"html-webpack-plugin": "^2.28.0",
"html-webpack-plugin": "^2.29.0",
"imports-loader": "0.7.1",
"json-loader": "0.5.4",
"karma": "^1.7.0",