To Build VisualEvents2 (https://github.com/DataTables/VisualEvent) with npm do this:
You need to have installed
* nodejs . https://nodejs.org
* git . https://git-scm.com
npm install -g grunt-cli
$ npm update
This will download the node modules for building VisualEvent2
$ npm run init
This will clone the github repository to a subdirectory
$ grunt default --webserverUrl="www.yourwebserverURL.com"
This builds a plain (Webserver Root install) installation for your own server. You got an option for creating a subdirectory Version of VisualEvent :
$ grunt default --webserverUrl="www.yourwebserverURL.com" --webserverSubdir="ausefullsubdirectoryname"
It will create a subdirectory based build.
If you made a flat/plain build (no subdirectory argument) then copy the files out of the plain directory in the build directory to your webserver root directory and switch to your browser. Open www.yourwebserverurl.com/bookmarklet.html and you can move the link to your bookmarks.
If you used the webserverSubdir argument, copy the created subdirectory out of the build directory to your root Webserver directory. Open www.yourwebserverurl.com/webserverSubdir/bookmarklet.html and you can move the link to your bookmarks.
DONE!
Thx to Allan
Resources : http://sprymedia.co.uk/article/Visual+Event+2 https://github.com/DataTables/VisualEvent