Making use of the closure-util package
This provides some initial development utilities for people using Node.
Instructions for installing:
npm install
After pulling down the dependencies, you can start a developement server that provides the libraries (ol and Closure Library) in debug mode (not minified/compiled). Run the dev server with the following:
npm start
Currently, the example index page needs to be built with `build.py`. After building that, you should be able to browse all static files, view the examples and run the tests.
This commit is contained in:
19
package.json
Normal file
19
package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "openlayers",
|
||||
"version": "3.0.0-beta",
|
||||
"description": "Mapping library",
|
||||
"scripts": {
|
||||
"start": "node tasks/serve.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/openlayers/ol3.git"
|
||||
},
|
||||
"license": "BSD",
|
||||
"bugs": {
|
||||
"url": "https://github.com/openlayers/ol3/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"closure-util": "*"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user