Add necessary files for unit tests setup
This commit is contained in:
parent
9e0e3d06ae
commit
583f5b0abe
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"name": "glowing-bear",
|
||||||
|
"description": "A webclient for WeeChat",
|
||||||
|
"version": "0.4.0",
|
||||||
|
"homepage": "https://github.com/glowing-bear/glowing-bear",
|
||||||
|
"license": "GPLv3",
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"angular": "1.3.x",
|
||||||
|
"angular-route": "1.3.x",
|
||||||
|
"angular-loader": "1.3.x",
|
||||||
|
"angular-mocks": "~1.3.x",
|
||||||
|
"html5-boilerplate": "~4.3.0"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"name": "glowing-bear",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.4.0",
|
||||||
|
"description": "A web client for Weechat",
|
||||||
|
"repository": "https://github.com/glowing-bear/glowing-bear",
|
||||||
|
"license": "GPLv3",
|
||||||
|
"devDependencies": {
|
||||||
|
"karma": "~0.10",
|
||||||
|
"protractor": "~0.20.1",
|
||||||
|
"http-server": "^0.6.1",
|
||||||
|
"bower": "^1.3.1",
|
||||||
|
"shelljs": "^0.2.6",
|
||||||
|
"jshint": "^2.5.2",
|
||||||
|
"karma-junit-reporter": "^0.2.2"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"postinstall": "bower install",
|
||||||
|
|
||||||
|
"prestart": "npm install",
|
||||||
|
"start": "http-server -a localhost -p 8000",
|
||||||
|
|
||||||
|
"pretest": "npm install",
|
||||||
|
"test": "karma start test/karma.conf.js",
|
||||||
|
"test-single-run": "karma start test/karma.conf.js --single-run",
|
||||||
|
|
||||||
|
"preupdate-webdriver": "npm install",
|
||||||
|
"update-webdriver": "webdriver-manager update",
|
||||||
|
|
||||||
|
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue