Make package.json compatible for npm frontend use

This PR augments package.json to ease OpenLayers 3 frontend development through NPM.
See this post on NPM blog http://blog.npmjs.org/post/112712169830/making-your-jquery-plugin-work-better-with-npm to understand my viewpoint and evaluate if it's worth to accept.
This commit is contained in:
Thomas Gratier
2015-04-24 03:41:52 +02:00
parent 70b0406c50
commit 75a3c5f6ff

View File

@@ -24,6 +24,12 @@
"bugs": {
"url": "https://github.com/openlayers/ol3/issues"
},
"browser": {
"ol": "./node_modules/openlayers/dist/ol.js"
},
"style": [
"./node_modules/openlayers/css/ol.css"
],
"dependencies": {
"async": "0.9.0",
"closure-util": "1.4.0",