40899b8481
The file glob pattern in package.json */static openstack_dashboard/dashboards/*/static has been changed to openstack_dashboard/static and horizon/static as only then does it run lint on the openstack_dashboard folder. Fixed issues in files in openstack_dashboard that have unaddressed warnings. Change-Id: I1ae1346281f028821afae159d471e3e87b2d8d6d Closes-Bug: #1490704
30 lines
979 B
JSON
30 lines
979 B
JSON
{
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"name": "horizon",
|
|
"description": "OpenStack Horizon - Angular",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"eslint": "^0.23.0",
|
|
"eslint-config-openstack": "1.2.0",
|
|
"eslint-plugin-angular": "0.0.10",
|
|
"jasmine-core": "2.2.0",
|
|
"karma": "0.12.31",
|
|
"karma-chrome-launcher": "0.1.8",
|
|
"karma-cli": "0.0.4",
|
|
"karma-coverage": "0.3.1",
|
|
"karma-jasmine": "0.3.5",
|
|
"karma-ng-html2js-preprocessor": "0.1.2",
|
|
"karma-phantomjs-launcher": "0.2.0",
|
|
"karma-threshold-reporter": "0.1.15",
|
|
"phantomjs": "1.9.17"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "if [ ! -d .venv ]; then tox -epy27 --notest; fi",
|
|
"test": "karma start horizon/karma.conf.js --single-run && karma start openstack_dashboard/karma.conf.js --single-run",
|
|
"lint": "eslint --no-color openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static"
|
|
},
|
|
"dependencies": {}
|
|
}
|