How to use grunt to perform different packaging tasks

I have a project that has a Gruntfile.js file in the root directory, and many subprojects, each of which has a packing.js file.

when Gruntfile.js is executed, the packing.js add task in the subproject is called in a loop.

Gruntfile.js part of the content is as follows

"scripts": {
    "build": "./node_modules/.bin/grunt",
  },

what I"m thinking about now is
execution npm build a packing subproject 1meme 2meme3
execution npm build b packaged subproject 4Pie5Power6

what should I do?
what I want is to create two Gruntfile.js files, but how do I configure and execute different grunt configuration files?

Apr.20,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b340d9-2bef7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b340d9-2bef7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?