Use application installed Grunt instead of requiring global install

This commit is contained in:
roykho 2022-01-05 13:18:09 -08:00
parent fc7c6f0b7f
commit 0f67d858e9
No known key found for this signature in database
GPG Key ID: 00D6C128DC6E0F71
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
"options": {
"commands": [
{
"command": "grunt assets",
"command": "pnpx grunt assets",
"forwardAllArgs": false
}
],
@ -25,11 +25,11 @@
"options": {
"commands": [
{
"command": "grunt eslint",
"command": "pnpx grunt eslint",
"forwardAllArgs": false
},
{
"command": "grunt stylelint",
"command": "pnpx grunt stylelint",
"forwardAllArgs": false
}
],

View File

@ -53,7 +53,7 @@
"build-watch": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "grunt watch",
"command": "pnpx grunt watch",
"cwd": "plugins/woocommerce/legacy"
}
},