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:
Tim Schaub
2013-09-14 12:54:31 -06:00
parent 26b46d248b
commit 75fffd1f47
4 changed files with 116 additions and 0 deletions

19
package.json Normal file
View 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": "*"
}
}