Add project.json
This commit is contained in:
parent
371c20cc45
commit
4681ccfc15
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue