Adds sonar scanner.

This commit is contained in:
Aaron Louie 2020-01-14 17:14:10 -05:00
parent 9e718f611a
commit 8121ec1796
3 changed files with 22 additions and 0 deletions

15
e2e/protractor-ci.conf.js Normal file
View File

@ -0,0 +1,15 @@
const config = require('./protractor.conf').config;
config.capabilities = {
browserName: 'chrome',
chromeOptions: {
binary: require('puppeteer').executablePath(),
args: [
'--headless',
'--no-sandbox',
'--disable-gpu'
]
}
};
exports.config = config;

6
package-lock.json generated
View File

@ -10572,6 +10572,12 @@
"socks": "~2.3.2" "socks": "~2.3.2"
} }
}, },
"sonar-scanner": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/sonar-scanner/-/sonar-scanner-3.1.0.tgz",
"integrity": "sha1-UcHBEB9UuYq8XYVlIJsdkjKXk0M=",
"dev": true
},
"sort-keys": { "sort-keys": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",

View File

@ -63,6 +63,7 @@
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"protractor": "^5.4.2", "protractor": "^5.4.2",
"puppeteer": "^1.20.0", "puppeteer": "^1.20.0",
"sonar-scanner": "^3.1.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~5.11.0", "tslint": "~5.11.0",
"typescript": "~3.5.3", "typescript": "~3.5.3",