Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 78ed177

Browse files
redallendlabrecq
authored andcommitted
chore(deps): bump deps and add package-lock.json (#463)
* chore(deps): bump deps and add package-lock.json
1 parent bd78ad6 commit 78ed177

File tree

7 files changed

+21443
-31
lines changed

7 files changed

+21443
-31
lines changed

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ env:
2020
- TRIGGER_REPO_BRANCH: "master"
2121

2222
before_install:
23-
- export CHROME_BIN=chromium-browser
24-
- export DISPLAY=:99.0
25-
- sh -e /etc/init.d/xvfb start
23+
- export CHROME_BIN=google-chrome
2624

2725
script:
2826
- npm run build

config/karma.conf.js

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module.exports = function(config) {
66
var testWebpackConfig = require('./webpack.test.js')({env: 'test'});
77

8-
var configuration = {
8+
config.set({
99

1010
// base path that will be used to resolve all patterns (e.g. files, exclude)
1111
basePath: '',
@@ -78,13 +78,10 @@ module.exports = function(config) {
7878
* start these browsers
7979
* available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
8080
*/
81-
browsers: [
82-
'Chrome'
83-
],
84-
81+
browsers: !process.env.CI ? ['Chrome'] : ['ChromeHeadlessNoSandbox'],
8582
customLaunchers: {
86-
ChromeTravisCi: {
87-
base: 'Chrome',
83+
ChromeHeadlessNoSandbox: {
84+
base: 'ChromeHeadless',
8885
flags: ['--no-sandbox']
8986
}
9087
},
@@ -114,11 +111,5 @@ module.exports = function(config) {
114111
* if true, Karma captures browsers, runs the tests and exits
115112
*/
116113
singleRun: true
117-
};
118-
119-
if (process.env.TRAVIS){
120-
configuration.browsers = ['ChromeTravisCi'];
121-
}
122-
123-
config.set(configuration);
114+
});
124115
};

gulpfile.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11

22
var gulp = require('gulp'),
3-
autoprefixer = require('autoprefixer'),
43
changed = require('gulp-changed'),
54
cssmin = require('gulp-cssmin'),
6-
del = require('del'),
75
exec = require('child_process').exec,
86
gulpngc = require('gulp-ngc'),
97
fs = require("fs"),
108
htmlMinifier = require('html-minifier'),
119
lessCompiler = require('gulp-less'),
1210
// ngc = require('@angular/compiler-cli/src/main').main,
1311
path = require('path'),
14-
postcss = require('postcss'),
1512
replace = require('gulp-replace'),
1613
rename = require('gulp-rename');
1714
sourcemaps = require('gulp-sourcemaps'),

0 commit comments

Comments
 (0)