Leaflet/package.json
John Firebaugh 618bb4aa77 Add prepublish script to package.json
Also, npm scripts are run in an environment with node_module
binaries in the path, so just "jake test" and "jake" are sufficient.

https://npmjs.org/doc/scripts.html
2013-04-08 11:25:32 -04:00

23 lines
461 B
JSON

{
"name": "Leaflet",
"version": "0.6.0",
"description": "JavaScript library for mobile-friendly interactive maps",
"devDependencies": {
"jshint": "~1.1.0",
"mocha": "~1.9.0",
"karma": "~0.8.0",
"uglify-js": "~2.2.5",
"jake": "~0.5.10"
},
"main": "dist/leaflet.js",
"scripts": {
"test": "jake test",
"prepublish": "jake"
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leaflet.git"
},
"keywords": ["gis", "map"]
}