
Previously the lint test was failing to run because there was no configuration file for it. This patch adds the .eslintrc file and fixes the found lint issues. This patch also adds tox environments to run the lint and karma tests. Change-Id: Idcef4c3ce4e9455acceed645c2530355989a7ee2
27 lines
777 B
JSON
27 lines
777 B
JSON
{
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"name": "designate-dashboard",
|
|
"description": "Designate Dashboard",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"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-jasmine": "1.0.2",
|
|
"karma-ng-html2js-preprocessor": "1.0.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "if [ ! -d .tox/py38 ]; then tox -epy38 --notest; fi",
|
|
"lint": "eslint --no-color designatedashboard/static",
|
|
"lintq": "eslint --quiet designatedashboard/static",
|
|
"test": "karma start karma.conf.js --single-run"
|
|
},
|
|
"dependencies": {}
|
|
}
|