99e385df81
This switches the old `npm run test-single-run` to `npm run test-auto-watch`, which I feel is a little more useful for day-to-day development. It'll rerun tests whenever it detects changes in its configured files. Change-Id: I453c47794cb0a4777cd1fac64b2db3000020f5bf Depends-on: I26fc5b1f780453202af8d1d43575bbf2aa53d27e
30 lines
911 B
JSON
30 lines
911 B
JSON
{
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"name": "refstack-ui",
|
|
"description": "A user interface for Refstack",
|
|
"license": "Apache2",
|
|
"devDependencies": {
|
|
"bower": "1.3.12",
|
|
"eslint": "^0.21.2",
|
|
"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 ./refstack-ui/app -a 0.0.0.0 -p 8080",
|
|
"pretest": "npm install",
|
|
"test": "karma start ./refstack-ui/tests/karma.conf.js --single-run",
|
|
"test-auto-watch": "karma start ./refstack-ui/tests/karma.conf.js --auto-watch",
|
|
"lint": "eslint -c ./.eslintrc --no-color ./refstack-ui"
|
|
}
|
|
}
|