
To simplify tox.ini, move processes for cleaning-up env and installing horizon from git into tools/tox_helper.sh. Change-Id: I6b3d66869ef3958c311dae57333c3e557207aa13
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"name": "zun-ui",
|
|
"description": "OpenStack Zun-UI",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"eslint": "3.19.x",
|
|
"eslint-config-openstack": "^4.0.1",
|
|
"eslint-plugin-angular": "3.1.x",
|
|
"jasmine-core": "2.8.x",
|
|
"karma": "1.7.x",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-cli": "1.0.x",
|
|
"karma-coverage": "1.1.x",
|
|
"karma-jasmine": "1.1.x",
|
|
"karma-ng-html2js-preprocessor": "1.0.x",
|
|
"karma-phantomjs-launcher": "1.0.x",
|
|
"karma-threshold-reporter": "0.1.x",
|
|
"phantomjs-prebuilt": "2.1.x"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; git clone https://git.openstack.org/openstack/horizon.git .tox/karma/src/horizon; pip install -U -t .tox/karma/lib/python2.7/site-packages/ .tox/karma/src/horizon; fi",
|
|
"test": "karma start zun_ui/karma.conf.js --single-run",
|
|
"lint": "eslint --no-color zun_ui/static",
|
|
"lintq": "eslint --quiet zun_ui/static"
|
|
},
|
|
"dependencies": {}
|
|
}
|