Skip to content

Commit

Permalink
add npm script to minify leaflet-providers
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Aug 20, 2014
1 parent e53f963 commit a59fab5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
leaflet-providers.min.js
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -8,13 +8,15 @@
"url": "git://github.com/leaflet-extras/leaflet-providers.git"
},
"scripts": {
"test": "jshint leaflet-providers.js preview/*.js"
"test": "jshint leaflet-providers.js preview/*.js",
"min": "uglifyjs leaflet-providers.js -m -o leaflet-providers.min.js"
},
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/leaflet-extras/leaflet-providers/issues"
},
"devDependencies": {
"jshint": "~2.1.11"
"jshint": "~2.1.11",
"uglify-js": "^2.4.15"
}
}

0 comments on commit a59fab5

Please sign in to comment.