Skip to content

Commit

Permalink
gulp alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nxmatic committed Jan 15, 2024
1 parent f62a075 commit bb7cd52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ import gulpLoadPlugins from 'gulp-load-plugins';
import ls from 'list-directory-contents';
import minimist from 'minimist';
import moment from 'moment';
import ms from 'merge-stream';
import path from 'path';
import replace from 'gulp-replace';
import runSequence from 'run-sequence';
import { stream as wiredep } from 'wiredep';
import util from 'gulp-util';

const $ = gulpLoadPlugins({
config: process.cwd() + '/package.json'
});
const knownOptions = {
string: 'env',
default: { env: process.env.NODE_ENV || 'test' }
};
const options = minimist(process.argv.slice(2), knownOptions);
const $ = gulpLoadPlugins();
const test = options.env;
const copyrighted = [
'app/*.html',
Expand Down Expand Up @@ -571,4 +571,4 @@ gulp.task('zip:source', () => {
return gulp.src(['./**','!/dist/**','!./package/**','!./node_modules/**','!.git*','!./.git/**']).pipe($.zip(filename)).pipe(gulp.dest('.'));
});

gulp.task('create-source-archive', gulp.series('clean','zip:source'));
gulp.task('create-source-archive', gulp.series('clean','zip:source'));
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxeo-extension",
"type": "module",
"type": "module",
"private": true,
"engines": {
"node": ">=10.12.0"
Expand All @@ -11,12 +11,13 @@
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"@wdio/cli": "^5.12.5",
"@wdio/cucumber-framework": "^5.12.3",
"@wdio/cucumber-framework": "^6.0.13",
"@wdio/local-runner": "^5.12.5",
"@wdio/selenium-standalone-service": "^5.12.1",
"@wdio/spec-reporter": "^5.12.1",
"@wdio/sync": "^5.12.3",
"babel-eslint": "^10.0.3",
"babel-register": "^6.26.0",
"del": "^5.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
Expand All @@ -28,13 +29,14 @@
"gulp-eslint": "^6.0.0",
"gulp-filter": "^6.0.0",
"gulp-livereload": "^4.0.1",
"gulp-load-plugins": "^2.0.1",
"gulp-load-plugins": "^2.0.8",
"gulp-replace": "^1.0.0",
"gulp-size": "^3.0.0",
"gulp-util": "^3.0.8",
"gulp-zip": "^5.0.0",
"list-directory-contents": "0.0.3",
"merge-stream": "^2.0.0",
"minimist": "1.2.8",
"moment": "^2.24.0",
"request-promise": "^4.2.4",
"run-sequence": "^2.2.1",
Expand Down

0 comments on commit bb7cd52

Please sign in to comment.