magnum-ui/package.json
Shu Muto 191f889748 Fix postinstall for npm job
npm jobs uses python3.5, but pip uses python2.7 to install horizon.
This fixes this issue.

Change-Id: I51c9177ec1cb92d8cb00db4ea66cd61e69c98ef2
2018-05-30 17:45:16 +09:00

35 lines
1.1 KiB
JSON

{
"name": "magnum-ui",
"description": "Magnum UI JavaScript tests",
"repository": {
"type": "git",
"url": "git://git.openstack.org/openstack/magnum-ui"
},
"version": "0.0.0",
"private": true,
"license": "Apache 2.0",
"author": "Openstack <openstack-dev@lists.openstack.org>",
"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"
},
"dependencies": {},
"scripts": {
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3.5 -m pip install -U -t ./.tox/karma/lib/python3.5/site-packages/ ../horizon; fi",
"lint": "eslint --no-color magnum_ui/static",
"lintq": "eslint --quiet magnum_ui/static",
"test": "karma start magnum_ui/karma.conf.js --single-run"
}
}