revert gruntfile

This commit is contained in:
Hare Sudhan 2024-02-24 23:02:14 -05:00
parent ce30989adc
commit 010536371d

View file

@ -88,13 +88,11 @@ module.exports = function (grunt) {
); );
grunt.registerTask("default", "Lints the code base", [ grunt.registerTask("default", "Lints the code base", [
"prettier",
"eslint", "eslint",
"exec:repoSize", "exec:repoSize",
]); ]);
grunt.registerTask("lint", "eslint"); grunt.registerTask("lint", "eslint");
grunt.registerTask("format", ["prettier"]);
grunt.registerTask( grunt.registerTask(
"findModules", "findModules",
@ -129,7 +127,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-concurrent"); grunt.loadNpmTasks("grunt-concurrent");
grunt.loadNpmTasks("grunt-contrib-connect"); grunt.loadNpmTasks("grunt-contrib-connect");
grunt.loadNpmTasks("grunt-zip"); grunt.loadNpmTasks("grunt-zip");
grunt.loadNpmTasks("grunt-prettier");
// Project configuration // Project configuration
const compileTime = const compileTime =
@ -263,14 +260,6 @@ module.exports = function (grunt) {
node: ["src/node/**/*.{js,mjs}"], node: ["src/node/**/*.{js,mjs}"],
tests: ["tests/**/*.{js,mjs}"], tests: ["tests/**/*.{js,mjs}"],
}, },
prettier: {
options: {
progress: false,
},
files: {
src: ["*.{js,mjs}", "src/**/*.{js,mjs}", "tests/**/*.{js,mjs}"],
},
},
webpack: { webpack: {
options: webpackConfig, options: webpackConfig,
myConfig: webpackConfig, myConfig: webpackConfig,