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": { "options": {
"commands": [ "commands": [
{ {
"command": "grunt assets", "command": "pnpx grunt assets",
"forwardAllArgs": false "forwardAllArgs": false
} }
], ],
@ -25,11 +25,11 @@
"options": { "options": {
"commands": [ "commands": [
{ {
"command": "grunt eslint", "command": "pnpx grunt eslint",
"forwardAllArgs": false "forwardAllArgs": false
}, },
{ {
"command": "grunt stylelint", "command": "pnpx grunt stylelint",
"forwardAllArgs": false "forwardAllArgs": false
} }
], ],

View File

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