We’re using npm scripts for all common tasks, so check out the
package.json to learn about what they’re doing exactly and
what else is available.
$ npm run dev
This will watch
src/ for changes and build
remotestorage.js in the
release/ directory every time you save a source file. Useful for testing
rs.js changes with an app, for example by creating a symlink to
This build includes [source
directly, so you can easily place
debugger statements in the code and step
through the actual source code in your browser’s debugger tool.
$ npm run build
This creates the minified production build in
It also creates a seperate source maps file, which you can link to in case you want to (e.g. to improve exception tracking/debugging in production).