1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

adding coverage

This commit is contained in:
Patrik J. Braun 2020-01-08 23:23:37 +01:00
parent e8c4fc0fc9
commit ac9b67e544
3 changed files with 959 additions and 2 deletions

View File

@ -14,5 +14,6 @@ before_install:
- # start your web application and listen on `localhost` - # start your web application and listen on `localhost`
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
install: install:
- npm install - npm ci
- npm run build - npm run build
after_success: npm run coverage

953
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,8 @@
"create-release": "gulp create-release", "create-release": "gulp create-release",
"build-backend": "tsc", "build-backend": "tsc",
"pretest": "tsc", "pretest": "tsc",
"test": "ng test && mocha --recursive test/backend/unit && mocha --recursive test/backend/integration && mocha --recursive test/common/unit ", "test": "ng test && nyc mocha --recursive test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"start": "node ./src/backend/index", "start": "node ./src/backend/index",
"run-dev": "ng build --aot --watch --output-path=./dist --i18n-locale en --i18n-file src/frontend/translate/messages.en.xlf --i18n-missing-translation warning", "run-dev": "ng build --aot --watch --output-path=./dist --i18n-locale en --i18n-file src/frontend/translate/messages.en.xlf --i18n-missing-translation warning",
"build-stats": "ng build --aot --prod --stats-json --output-path=./dist --i18n-locale en --i18n-file src/frontend/translate/messages.en.xlf --i18n-missing-translation warning", "build-stats": "ng build --aot --prod --stats-json --output-path=./dist --i18n-locale en --i18n-file src/frontend/translate/messages.en.xlf --i18n-missing-translation warning",
@ -92,6 +93,7 @@
"chai-http": "4.3.0", "chai-http": "4.3.0",
"codelyzer": "5.2.0", "codelyzer": "5.2.0",
"core-js": "3.4.7", "core-js": "3.4.7",
"coveralls": "3.0.9",
"ejs-loader": "0.3.5", "ejs-loader": "0.3.5",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-json-editor": "2.5.4", "gulp-json-editor": "2.5.4",
@ -116,6 +118,7 @@
"ngx-bootstrap": "5.2.0", "ngx-bootstrap": "5.2.0",
"ngx-clipboard": "12.3.0", "ngx-clipboard": "12.3.0",
"ngx-toastr": "11.2.1", "ngx-toastr": "11.2.1",
"nyc": "15.0.0",
"open-iconic": "1.1.1", "open-iconic": "1.1.1",
"protractor": "5.4.2", "protractor": "5.4.2",
"remap-istanbul": "0.13.0", "remap-istanbul": "0.13.0",