14 lines
637 B
JSON
14 lines
637 B
JSON
{
|
|
"private": true,
|
|
"workspaces": ["frontend", "frappe-ui"],
|
|
"scripts": {
|
|
"postinstall": "cd frontend && yarn install",
|
|
"dev": "cd frontend && yarn dev",
|
|
"build": "cd frontend && yarn build",
|
|
"disable-workspaces": "sed -i '' 's/\"workspaces\"/\"aworkspaces\"/g' package.json",
|
|
"enable-workspaces": "sed -i '' 's/\"aworkspaces\"/\"workspaces\"/g' package.json && rm -rf node_modules ./frontend/node_modules/ frappe-ui/node_modules/ && yarn install",
|
|
"upgrade-frappeui": "cd frontend && yarn add frappe-ui@latest && cd ..",
|
|
"disable-workspaces-and-upgrade-frappeui": "yarn disable-workspaces && yarn upgrade-frappeui"
|
|
}
|
|
}
|