JavaScript frontend for li3_filemanager
You'll need nodejs installed on your machine to run tests and build this script.
First clone repo, install node modules and fetch javascript tests dependencies with bower
:
git clone git://github.com/djordje/js-li3_filemanager.git
cd js-li3_filemanager
npm install && node_modules/.bin/bower install
So you can run grunt tests from repo root:
node_modules/.bin/grunt test
You can build script via grunt build task:
node_modules/.bin/grunt build
And this will output concatonated and minifyed versions of script in build
directory.
Best wawy to build script is default grunt task:
node_modules/.bin/grunt
This will run tests first and build scripts if all tests succeed!
There is one more task, watch
which will watch for changes in src
directory and run test
task
every time there is some change!
node_modules/.bin/grunt watch
This script require you to have loaded on your page following scripts:
- jQuery (tested with 1.8)
- mustache
- twitter bootstrap (tested with bootstrap.js v2.2.2)