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:
@@ -24,6 +24,12 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/openlayers/ol3/issues"
|
"url": "https://github.com/openlayers/ol3/issues"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"ol": "./node_modules/openlayers/dist/ol.js"
|
||||||
|
},
|
||||||
|
"style": [
|
||||||
|
"./node_modules/openlayers/css/ol.css"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "0.9.0",
|
"async": "0.9.0",
|
||||||
"closure-util": "1.4.0",
|
"closure-util": "1.4.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user