-
Update your
package.json:- Upgrade your archetype app to 3.0.0+
"electrode-archetype-react-app": "3.0.3", "electrode-archetype-react-app-dev": "3.0.3"- Add
xclap-clito your devDependency
npm install xclap-cli --save-dev-
Update your script field:
Replacing all
gulpintoclap.
-
Rename
gulpfile.jsintoclap.js, OR if you don't have, create a new file calledclap.jsand put below contents into the file:require("electrode-archetype-react-app")(); -
Run
npm installand waiting for its finished. -
Run
clap dev|hotor your own customed script to start the app.
Now you are all set!
For more detailed information according to xclap, please refer https://github.com/jchip/xclap