horizon/package.json
Michael Krotscheck 1cc79a0b19 Added npm run lint command to execute JSCS
This patch adds jscs as an npm dependency, and executes it within
the npm venv. It can be used to trigger the infra npm-run-lint job
and thus get voting javascript code linting into infra.

Change-Id: I2c92a7596a8faee28de582493bdf72425deac8cc
2015-06-05 19:59:30 -07:00

27 lines
891 B
JSON

{
"version": "0.0.0",
"private": true,
"name": "horizon",
"description": "OpenStack Horizon - Angular",
"repository": "none",
"license": "Apache 2.0",
"devDependencies": {
"jasmine-core": "2.2.0",
"jscs": "1.13.1",
"karma": "0.12.31",
"karma-chrome-launcher": "0.1.8",
"karma-cli": "0.0.4",
"karma-coverage": "0.3.1",
"karma-jasmine": "0.3.5",
"karma-ng-html2js-preprocessor": "0.1.2",
"karma-phantomjs-launcher": "0.2.0",
"phantomjs": "1.9.17"
},
"scripts": {
"postinstall": "if [ ! -d .venv ]; then tox -epy27 --notest; fi",
"test": "karma start horizon/karma.conf.js --single-run && karma start openstack_dashboard/karma.conf.js --single-run",
"lint": "jscs --no-colors horizon/static/horizon/js horizon/static/horizon/tests horizon/static/framework/ openstack_dashboard/static/dashboard/"
},
"dependencies": {}
}