Skip to content

Commit

Permalink
Merge pull request #16 from geert-janklaps/main
Browse files Browse the repository at this point in the history
Added livereload functionality + new version
  • Loading branch information
geert-janklaps authored Apr 7, 2021
2 parents 8f34d9b + 74896e8 commit a989f61
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
8 changes: 7 additions & 1 deletion generators/app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"karma": "^6.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-ui5": "^2.3.3"
"karma-ui5": "^2.3.3",
"ui5-middleware-livereload": "^0.5.1"
},
"ui5": {
"dependencies": [
"ui5-middleware-livereload"
]
},
"scripts": {
"build": "ui5 build --clean-dest",
Expand Down
7 changes: 7 additions & 0 deletions generators/app/templates/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ framework:
- name: sap.ui.core
- name: themelib_sap_belize
- name: themelib_sap_fiori_3
server:
customMiddleware:
- name: ui5-middleware-livereload
afterMiddleware: compression
configuration:
extraExts: "xml,json,properties"
path: ["src", "test"]
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-ui5-library",
"version": "1.0.9",
"version": "1.0.10",
"description": "Generator for UI5 libraries",
"homepage": "https://github.com/geert-janklaps/generator-ui5-library",
"author": {
Expand Down

0 comments on commit a989f61

Please sign in to comment.