Add main to package.json

In order to require() and use Leaflet via browserify requires
that the package define a main entry point for the module.
This commit is contained in:
Justin Walgran 2013-02-28 20:43:36 -05:00
parent b993f1fc4b
commit 360fb06620

View File

@ -8,6 +8,7 @@
"uglify-js": "~2.2.3", "uglify-js": "~2.2.3",
"jake": "latest" "jake": "latest"
}, },
"main": "dist/leaflet.js",
"scripts": { "scripts": {
"test": "node ./node_modules/jake/bin/cli test" "test": "node ./node_modules/jake/bin/cli test"
}, },