vitrage-dashboard/package.json
manchandavishal ba3fb0c5fa Run npm nodejs job with Phantomjs browser
This patch update browser from Chrome to Phantomjs
in karma.conf.js because nodejs job fails with Chrome
browser as not able to access some URL.
So let's switch to Phantomjs browser now then we can
use Chrome browser in future once this issue is resolved.

It also adds libfontconfig1 in bindep.txt as phantomjs
requires libfontconfg[1].

[1] https://www.npmjs.com/package/phantomjs-prebuilt#linux-note

Change-Id: Id66915db78d788d98645d536fb112dadf9a89aed
2020-12-15 05:27:22 +00:00

27 lines
769 B
JSON

{
"version": "0.0.0",
"private": true,
"name": "vitrage-dashboard",
"description": "Vitrage Dashboard",
"repository": "none",
"license": "Apache 2.0",
"devDependencies": {
"eslint": "1.10.3",
"eslint-config-openstack": "1.2.4",
"jasmine-core": "2.4.1",
"karma": "1.1.2",
"karma-phantomjs-launcher": "1.0.1",
"karma-cli": "^1.0.1",
"karma-jasmine": "1.0.2",
"karma-ng-html2js-preprocessor": "1.0.0",
"karma-spec-reporter": "0.0.32"
},
"scripts": {
"postinstall": "if [ ! -d .tox/npm ]; then tox -e npm --notest; fi",
"lint": "eslint --no-color vitrage_dashboard/static",
"lintq": "eslint --quiet vitrage_dashboard/static",
"test": "karma start karma.conf.js --single-run"
},
"dependencies": {}
}