Closed ittaibaratz closed 5 years ago
Example implementation:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build && clientlib --verbose",
"deploy-local": "mvn -f ../pom.xml clean install -PautoInstallPackage",
"test": "react-scripts test --coverage",
"test:debug": "react-scripts --inspect-brk test --coverage --no-cache --runInBand",
"eject": "react-scripts eject"
},
Feature Request
As a Frontend developer, I want to be able to push my project into a local AEM instance without having to use Maven.
Describe the solution you'd like Create an additional script inside package.json which will call Maven to build and deploy the project onto AEM.
Are there alternatives? The alternative is for frontend developers to use Maven directly.
Documentation Users will simply run
npm run deploy-local