
This patch prepares python3.6 support. - Add py36-local into tox.ini - Add py36 job as non-voting. - Support any python3.x on postinstall in package.json and karma.conf We should add py36-local into tox.ini and support for python3.6 into setup.cfg when we decide to support python3.6 formally. Change-Id: Ia4d7ed7fc2a7843beb532302e4ed4b856bcc6195
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "{{ cookiecutter.repo_name }}",
|
|
"description": "{{ cookiecutter.call_by_name }} JavaScript tests",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://git.openstack.org/openstack/{{ cookiecutter.repo_name }}"
|
|
},
|
|
"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 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ ../horizon; fi",
|
|
"lint": "eslint --no-color {{ cookiecutter.module_name }}/static",
|
|
"lintq": "eslint --quiet {{ cookiecutter.module_name }}/static",
|
|
"test": "karma start {{ cookiecutter.module_name }}/karma.conf.js --single-run"
|
|
}
|
|
}
|