
Adding the karma-cli package installs it into node_modules/.bin/, which npm's run command is aware of. As a result, we do not need to explicitly invoke karma in the package.json's test commands. Change-Id: I8679026b72b36aba25a5817d66b3eef9e7411888
28 lines
771 B
JSON
28 lines
771 B
JSON
{
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"name": "refstack-ui",
|
|
"description": "A user interface for Refstack",
|
|
"license": "Apache2",
|
|
"devDependencies": {
|
|
"bower": "1.3.12",
|
|
"http-server": "^0.6.1",
|
|
"karma": "^0.12.23",
|
|
"karma-chrome-launcher": "^0.1.5",
|
|
"karma-cli": "0.0.4",
|
|
"karma-firefox-launcher": "^0.1.3",
|
|
"karma-jasmine": "^0.2.2",
|
|
"protractor": "~1.0.0",
|
|
"shelljs": "^0.2.6",
|
|
"tmp": "0.0.23"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "bower install --config.interactive=false",
|
|
"prestart": "npm install",
|
|
"start": "http-server ./app -a 0.0.0.0 -p 8080",
|
|
"pretest": "npm install",
|
|
"test": "karma start tests/karma.conf.js",
|
|
"test-single-run": "karma start tests/karma.conf.js --single-run"
|
|
}
|
|
}
|