Skip to content

Commit

Permalink
Update build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLaumeister committed May 29, 2024
1 parent 8c6996b commit ba8c43d
Show file tree
Hide file tree
Showing 5 changed files with 15,019 additions and 8,670 deletions.
14 changes: 1 addition & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,5 @@ module.exports = {
browser: true,
es6: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {
"linebreak-style": "off"
},
parser: "@babel/eslint-parser",
};
13 changes: 13 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/env",
{
"targets": {
"node": "20"
}
}
]
]
}

8 changes: 5 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ const {

const uglify = require('gulp-uglify-es').default;
const browserSync = require('browser-sync').create();
const del = require('del');
const concat = require('gulp-concat');
const sourcemaps = require('gulp-sourcemaps');
const noop = require('gulp-noop');
const sass = require('gulp-sass');
const sass = require('gulp-sass')(require('sass'));
const jsdoc = require('gulp-jsdoc3');
const eslint = require('gulp-eslint');
const sassLint = require('gulp-sass-lint');
Expand Down Expand Up @@ -96,7 +95,10 @@ function serve(done) {
done();
}

const clean = () => del(['dist']);
const clean = async () => {
const { deleteAsync } = await import('del');
return deleteAsync(['dist']);
};

const dowatch = () => watch(['lib', 'src', 'static'], series(dev /* , reload */));

Expand Down
Loading

0 comments on commit ba8c43d

Please sign in to comment.