Skip to content

Commit

Permalink
Let's get rid of babel.
Browse files Browse the repository at this point in the history
  • Loading branch information
llambeau committed Feb 24, 2024
1 parent 93cdfaa commit d5fee16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
30 changes: 0 additions & 30 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-fixtures2js');
grunt.loadNpmTasks('grunt-babel');

//##################################################################### Tasks

Expand Down Expand Up @@ -96,19 +95,6 @@ module.exports = function(grunt) {
},
},

//################################################################### Build
babel: {
options: {
sourceMap: true,
presets: ['@babel/preset-env'],
},
files: {
expand: true,
cwd: 'src/',
src: ['**/*.js'],
dest: 'lib/',
},
},
//################################################################### Build

// Cleans compilation results
Expand Down Expand Up @@ -200,22 +186,6 @@ module.exports = function(grunt) {

//#################################################################### Test

// Unit testing using mocha
mochaTest: {
unit: {
src: ['specs/unit/**/*.js'],
options: {
require: '@babel/register',
},
},
integration: {
src: ['specs/integration/**/*.js'],
options: {
require: '@babel/register',
},
},
},

// Acceptance testing with cucumber
cucumberjs: {
src: './features',
Expand Down
8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,16 @@
"commander": "^12.0.0"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/node": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.8",
"@babel/register": "^7.15.3",
"@enspirit/eslint-config-node": "^0.1.5",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"babel-loader": "^8.2.3",
"browserify": "~17.0.0",
"cucumber": "~0.9.4",
"eslint": "^7.32.0",
"eslint-plugin-no-autofix": "1.2.3",
"eslint-plugin-prefer-arrow": "1.2.3",
"grunt": "~1.4.1",
"grunt-babel": "^8.0.0",
"grunt-browserify": "~6.0.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "~2.0.0",
Expand Down

0 comments on commit d5fee16

Please sign in to comment.