Skip to content

Commit

Permalink
- Adding missing dependencies to package.json
Browse files Browse the repository at this point in the history
- Modified the way tests are called for cross platform testing
- Added a 'build' package script for running gulp
  • Loading branch information
jlaramie committed Jan 1, 2022
1 parent 17303d8 commit f1e4545
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gulp.task('update_bs_fonts', function(){
.pipe(gulp.dest('fonts'));
});

gulp.task('libs', ['update_jquery', 'update_bs_js', 'update_bs_css', 'update_bs_fonts']);
gulp.task('libs', gulp.series('update_jquery', 'update_bs_js', 'update_bs_css', 'update_bs_fonts'));

gulp.task('scripts', function() {
return gulp.src(paths.scripts)
Expand Down Expand Up @@ -61,4 +61,4 @@ gulp.task('watch', function() {
gulp.watch(paths.scripts, ['site']);
});

gulp.task('default', ['scripts'])
gulp.task('default', gulp.series('scripts'))
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"convert"
],
"scripts": {
"test": "./node_modules/mocha/bin/mocha & ./node_modules/qunit/bin/cli.js -t ./test/browser/ExcelFormulaUtilities.test.js -d ./src/core.js -c ./src/ExcelFormulaUtilities.js & ./node_modules/qunit/bin/cli.js -c ./dist/excel-formula.min.js -t ./test/browser/ExcelFormulaUtilities.test.js & ./node_modules/qunit/bin/cli.js -c ./dist/excel-formula.js -t ./test/browser/ExcelFormulaUtilities.test.js"
"build": "gulp",
"test": "mocha & qunit -t ./test/browser/ExcelFormulaUtilities.test.js -d ./src/core.js -c ./src/ExcelFormulaUtilities.js & qunit -c ./dist/excel-formula.min.js -t ./test/browser/ExcelFormulaUtilities.test.js & qunit -c ./dist/excel-formula.js -t ./test/browser/ExcelFormulaUtilities.test.js"
},
"main": "index.js",
"engines": {
Expand All @@ -33,13 +34,14 @@
"devDependencies": {
"del": "^2.0.2",
"docco": "~0.6.3",
"gulp": "^3.9.0",
"fs.extra": "^1.3.2",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.0",
"gulp-notify": "^2.2.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.4.1",
"qunit": "~0.7.7",
"fs.extra": "^1.3.2"
"mocha": "^9.1.3",
"qunit": "~0.7.7"
},
"dependencies": {
"bootstrap": "^4.1.3",
Expand Down

0 comments on commit f1e4545

Please sign in to comment.