- We manage javascript libraries with Bower
- Libraries are downloaded and extrated into
Source/vendors/
- Libraries are downloaded and extrated into
- We compile all files in the
Source
directory into multiple files with Gulp:- LESS compiles into a combined LESS file for the template of Customization.
- LESS compiles into a CSS file used if Customization is disabled.
- JS files is combined into one file:
- Core files is written to touchui.bundled.js
- Libraries is written to touchui.libraries.js
- Knockout is written to touchui.libraries.js
Install NodeJS
- Install required global NPM plguins:
(sudo) npm install gulp-cli -g
- Install development dependencies
npm install
-
Build all
Rungulp
-
Watch
Rungulp watch
-
LESS
Rungulp less
This will concat all files insource/less
totouchui.bundled.less
-
JS
Rungulp js
This will concat all files insource/js
totouchui.bundled.js
/touchui.libraries.js
/touchui.knockout.js