commit | 9749d61d72e53e99b71b70b8616333f2972e441f | [log] [tgz] |
---|---|---|
author | Jason Campbell <jasoncampbell@google.com> | Mon Jul 13 23:36:24 2015 -0700 |
committer | Jason Campbell <jasoncampbell@google.com> | Mon Jul 13 23:36:56 2015 -0700 |
tree | 19d9d42dfa32fe3c9748cf433f2abcb42b488e5d | |
parent | 3cd823863c0d6e31ed25de18c9a05d7c1994e7da [diff] |
TBR reader: adds jshint and lints existing code. Related #2 Change-Id: Id64140ebafcc8740ab043618b5b6bd329f723d6b
An example PDF reader using Vanadium.
If you have a $V23_ROOT
setup you can install Node.js from $V23_ROOT/third_party
by running:
v23 profile install nodejs
Optionally, it is possible to use your own install of Node.js if you would like to use a more recent version.
The Makefile is setup to handle all dependencies once Node.js is installed. The default make task will install any modules listed in the package.json
and build a browser bundle from browser/index.js
via browserify.
make
It is possible to have the build happen automatically anytime a JavaScript file changes using the watch tool:
watch make
To run a local dev server use:
make start
If you would like to change the host and or port that is used:
make start port=<port> host=<host>