The test.js task starts the development server and runs the tests in PhantomJS. As mentioned in the readme, when running the tests continuously during development, it is more convenient to start the dev server and visit the root of the test directory in your browser. Later we can bring in Karma to drive PhantomJS and other browsers, but this simple "run once" task is useful for the CI job.
36 lines
805 B
JSON
36 lines
805 B
JSON
{
|
|
"name": "openlayers",
|
|
"version": "3.0.0-beta",
|
|
"description": "Mapping library",
|
|
"scripts": {
|
|
"postinstall": "node tasks/parse-examples.js",
|
|
"start": "node tasks/serve.js",
|
|
"test": "node tasks/test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/openlayers/ol3.git"
|
|
},
|
|
"license": "BSD",
|
|
"bugs": {
|
|
"url": "https://github.com/openlayers/ol3/issues"
|
|
},
|
|
"dependencies": {
|
|
"async": "~0.2.10",
|
|
"htmlparser2": "~3.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"closure-util": "0.19.0",
|
|
"fs-extra": "~0.8.1",
|
|
"graceful-fs": "~3.0.2",
|
|
"jsdoc": "~3.3.0-alpha7",
|
|
"jshint": "~2.5.1",
|
|
"nomnom": "~1.6.2",
|
|
"phantomjs": "~1.9.7-5",
|
|
"taffydb": "~2.7.0",
|
|
"temp": "~0.7.0",
|
|
"underscore": "~1.6.0",
|
|
"walk": "~2.3.3"
|
|
}
|
|
}
|