0a388a6096
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I858fa9318d99d48fe475b34f05dc7bf1f537f690
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": "https://opendev.org/openstack/{{ cookiecutter.repo_name }}"
|
|
},
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "Apache 2.0",
|
|
"author": "Openstack <openstack-discuss@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/ -chttps://releases.openstack.org/constraints/upper/master ../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"
|
|
}
|
|
}
|