Add project.json

This commit is contained in:
roykho 2021-11-19 06:38:24 -08:00
parent 371c20cc45
commit 4681ccfc15
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{
"root": "plugins/woocommerce/legacy",
"sourceRoot": "plugins/woocommerce/legacy",
"type": "application",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "grunt assets",
"forwardAllArgs": false
}
],
"cwd": "plugins/woocommerce/legacy"
},
"outputs": [
"plugins/woocommerce/assets/css",
"plugins/woocommerce/assets/js"
]
},
"lint": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "grunt eslint",
"forwardAllArgs": false
},
{
"command": "grunt stylelint",
"forwardAllArgs": false
}
],
"cwd": "plugins/woocommerce/legacy"
}
}
}
}