mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-14 03:23:49 +00:00
Added integration with scrutinizer
This commit is contained in:
2
.scrutinizer.yml
Normal file
2
.scrutinizer.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
tools:
|
||||||
|
external_code_coverage: true
|
||||||
@@ -13,7 +13,10 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
# - yarn inspect
|
# - yarn inspect
|
||||||
- yarn test
|
- yarn test --coverage
|
||||||
- yarn build # Make sure the app can be built without errors
|
- yarn build # Make sure the app can be built without errors
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- yarn ocular coverage/clover.xml
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
# shlink-web-client
|
# shlink-web-client
|
||||||
|
|
||||||
[](https://travis-ci.org/shlinkio/shlink-web-client)
|
[](https://travis-ci.org/shlinkio/shlink-web-client)
|
||||||
|
[](https://scrutinizer-ci.com/gshlinkio/shlink-web-client/?branch=master)
|
||||||
|
[](https://scrutinizer-ci.com/g/shlinkio/shlink-web-client/?branch=master)
|
||||||
|
[](https://github.com/shlinkio/shlink-web-client/releases/latest)
|
||||||
|
[](https://github.com/shlinkio/shlink-web-client/blob/master/LICENSE)
|
||||||
|
|
||||||
A ReactJS-based progressive web application for [Shlink](https://shlink.io).
|
A ReactJS-based progressive web application for [Shlink](https://shlink.io).
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
"jest": "20.0.4",
|
"jest": "20.0.4",
|
||||||
"node-sass": "^4.9.0",
|
"node-sass": "^4.9.0",
|
||||||
"object-assign": "4.1.1",
|
"object-assign": "4.1.1",
|
||||||
|
"ocular.js": "^0.1.0",
|
||||||
"postcss-flexbugs-fixes": "3.2.0",
|
"postcss-flexbugs-fixes": "3.2.0",
|
||||||
"postcss-loader": "2.0.8",
|
"postcss-loader": "2.0.8",
|
||||||
"raf": "3.4.0",
|
"raf": "3.4.0",
|
||||||
@@ -85,6 +86,13 @@
|
|||||||
"whatwg-fetch": "2.0.3"
|
"whatwg-fetch": "2.0.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
"coverageReporters": [
|
||||||
|
"text",
|
||||||
|
"text-summary",
|
||||||
|
"clover",
|
||||||
|
"html"
|
||||||
|
],
|
||||||
|
"coverageDirectory": "<rootDir>/coverage",
|
||||||
"collectCoverageFrom": [
|
"collectCoverageFrom": [
|
||||||
"src/**/*.{js,jsx,mjs}"
|
"src/**/*.{js,jsx,mjs}"
|
||||||
],
|
],
|
||||||
|
|||||||
10
yarn.lock
10
yarn.lock
@@ -1691,6 +1691,10 @@ commander@^2.11.0:
|
|||||||
version "2.17.0"
|
version "2.17.0"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.0.tgz#9d07b25e2a6f198b76d8b756a0e8a9604a6a1a60"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.0.tgz#9d07b25e2a6f198b76d8b756a0e8a9604a6a1a60"
|
||||||
|
|
||||||
|
commander@^2.9.0:
|
||||||
|
version "2.17.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
|
||||||
|
|
||||||
commondir@^1.0.1:
|
commondir@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
|
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
|
||||||
@@ -5313,6 +5317,12 @@ obuf@^1.0.0, obuf@^1.1.1:
|
|||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
|
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
|
||||||
|
|
||||||
|
ocular.js@^0.1.0:
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ocular.js/-/ocular.js-0.1.0.tgz#3a146ab59864e97ffb12f83e1d8f03b9abf9a866"
|
||||||
|
dependencies:
|
||||||
|
commander "^2.9.0"
|
||||||
|
|
||||||
on-finished@~2.3.0:
|
on-finished@~2.3.0:
|
||||||
version "2.3.0"
|
version "2.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
|
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
|
||||||
|
|||||||
Reference in New Issue
Block a user