Commit graph

7 commits

Author SHA1 Message Date
Miklos Vajna
655915da05 leaflet: bundle timeago JS module
And start using it in DocumentRepair.

Change-Id: I8d2b8af4d2e0dcc7cf8082c9d7adbc633df1c387
2016-09-30 17:12:01 +02:00
Pranav Kant
26ff7ce80e loleaflet: Add exorcist to dependency tree
This is required for separating source maps from our bundles.
2016-08-11 16:27:21 +05:30
Pranav Kant
3cab3e0d34 loleaflet: Add uglifyify for minifying js code 2016-08-11 15:55:49 +05:30
Pranav Kant
5f44c55011 loleaflet: npm-sify d3.js
Don't use external CDN for this library, rather 'require()' it
from our local npm modules.
2016-08-09 20:18:59 +05:30
Pranav Kant
6c69b63be5 loleaflet: Browserify admin, more modularization, npm-isation
Use browserify for admin console scripts too.

Modularize needed files such as l10n strings for console.

Use npm for managing bootstrap as dependency of admin console.
2016-08-09 20:18:59 +05:30
Pranav Kant
5014cb8cc2 loleaflet: Bump jquery-contextmenu to 2.2.3
With current version, position of context menu is not set at
specified position. 2.2.3 fixes the issue.

Also udpate tarballs in node_shrinkwrap and dep. tree in
npm-shrinkwrap.json
2016-08-03 15:45:01 +05:30
Pranav Kant
484c664445 loleaflet: Shrinkwrap and shrinkpack; local dependencies tarballs
Using npm-shrinkwrap, we are locking in our dependency tree
completely, leaving no scope of being affected by any
regression in any of the dependencies. In other words, all of the
dependency tree is dumped in npm-shrinkwrap.json file.

Using shrinkpack, we are also committing these tarballs of
dependencies in node_shrinkwrap/, so that, we are not
depending on npm registry at all during our build process. Since these
are just tarballs, its also better space-wise than committing
node_modules/ per se.

Developers when want to update any dependency should bump the
version in package.json, and also commit the new copy of
tarballs in node_shrinkwrap/.

See: https://github.com/JamieMason/shrinkpack for more info.
2016-08-03 15:45:01 +05:30