diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1521c8b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dist diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..32fbb9a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "git.ignoreLimitWarning": true +} \ No newline at end of file diff --git a/README.md b/README.md index d2e2683..667c705 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,4 @@ Run `npx http-server` and open `http://localhost:8080/` in your favorite browser - Translations powered by [i18next](https://www.i18next.com/overview/getting-started). - Notifications popups by [PNotify](https://sciactive.com/pnotify/). - Routing is done by [Page.js](https://visionmedia.github.io/page.js/). +- Awesomeness added by [jQuery](https://jquery.com/). diff --git a/build.cmd b/build.cmd new file mode 100644 index 0000000..9113b87 --- /dev/null +++ b/build.cmd @@ -0,0 +1,6 @@ +rem This bat file minifies all js and css and creates a dist folder with everything in it + +node node_modules\minifyfromhtml\minifyfromhtml.js --js=dist\myapp.js --css=dist\myapp.css < index.html + +copy /Y index.production.html dist\index.html +xcopy /F /Y /I templates dist\templates diff --git a/index.html b/index.html index 0cf25e0..61a56e7 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,8 @@
+ + @@ -22,10 +24,7 @@ - + +