8123d9ce34
We have a ton of warnings. This makes it difficult to locate linting errors. This patch adds an npm script for developers to run eslint in quiet mode with color. Change-Id: Ie1ecc201d025c428d15b310b78e9c343a341aed3 Closes-Bug: #1546736
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"name": "horizon",
|
|
"description": "OpenStack Horizon - Angular",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"eslint": "1.2.1",
|
|
"eslint-config-openstack": "1.2.3",
|
|
"eslint-plugin-angular": "0.15.0",
|
|
"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",
|
|
"lintq": "eslint --quiet openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static"
|
|
},
|
|
"dependencies": {}
|
|
}
|