Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

makefile to create the min version and package.json in order to insta…

…ll dev dependencies
  • Loading branch information...
commit 2d5ccc7526e3c6d6a50b9db3fc74dd6ff1cedc2f 1 parent 9223c34
@javisantana javisantana authored
Showing with 38 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +14 −0 Makefile
  3. +23 −0 package.json
View
1  .gitignore
@@ -1 +1,2 @@
.DS_Store
+node_modules
View
14 Makefile
@@ -0,0 +1,14 @@
+
+UGLIFYJS = ./node_modules/.bin/uglifyjs
+
+dist: dist/cartodb-leaflet-min.js
+
+dist/cartodb-leaflet-min.js:
+ $(UGLIFYJS) dist/cartodb-leaflet.js > dist/cartodb-leaflet-min.js
+
+clean:
+ rm -rf dist/cartodb-leaflet-min.js
+
+
+PHONY: clean
+
View
23 package.json
@@ -0,0 +1,23 @@
+{
+ "name": "cartdo-leaflet",
+ "version": "0.51.0",
+ "description": "CartoDB Leaftlet connector",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/Vizzuality/cartodb-leaflet.git"
+ },
+ "author": {
+ "name": "Vizzuality",
+ "url": "http://vizzuality.com/",
+ "email": "wadus@vizzuality.com"
+ },
+ "contributors": [
+ "Javier Alvarez <jamedina@vizzuality.com>"
+ ],
+ "licenses": [{
+ "type": "BSD"
+ }],
+ "devDependencies": {
+ "uglify-js": "1.0.x"
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.