046cb42279
This patch update browser from Chrome to Firefox in karma.conf.js because nodejs fails with Chrome browser as not able to access some URL. So let's switch to Firefox browser now then we can use Chrome browser in future once this issue is resolved. It also updates few packages in 'lower-constraints.txt' to fix lower-constraints job. Change-Id: I1467fd00f3746c5c84233f31c8d41609d0345303
34 lines
988 B
JSON
34 lines
988 B
JSON
{
|
|
"name": "zaqar-ui",
|
|
"description": "Zaqar UI JavaScript tests",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://opendev.org/openstack/zaqar-ui"
|
|
},
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "Apache 2.0",
|
|
"author": "Openstack <openstack-discuss@lists.openstack.org>",
|
|
"devDependencies": {
|
|
"eslint": "^1.10.3",
|
|
"eslint-config-openstack": "^1.2.4",
|
|
"eslint-plugin-angular": "1.0.1",
|
|
"jasmine-core": "2.4.1",
|
|
"karma": "1.1.2",
|
|
"karma-firefox-launcher": "2.1.0",
|
|
"karma-cli": "1.0.1",
|
|
"karma-coverage": "1.1.1",
|
|
"karma-jasmine": "1.0.2",
|
|
"karma-ng-html2js-preprocessor": "1.0.0",
|
|
"karma-threshold-reporter": "0.1.15"
|
|
},
|
|
"dependencies": {},
|
|
"scripts": {
|
|
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; fi",
|
|
"lint": "eslint --no-color zaqar_ui/static",
|
|
"lintq": "eslint --quiet zaqar_ui/static",
|
|
"test": "karma start zaqar_ui/karma.conf.js --single-run"
|
|
}
|
|
}
|
|
|