Skip to content

Instantly share code, notes, and snippets.

@didi0613
Last active June 22, 2017 18:14
Show Gist options
  • Save didi0613/6e94c2d1836d48d48874a5491e00d9fd to your computer and use it in GitHub Desktop.
Save didi0613/6e94c2d1836d48d48874a5491e00d9fd to your computer and use it in GitHub Desktop.
Update oss app archetype to 3.0+ Instructions

Upgrade to Archetype React App 3.0+ Instructions

  1. 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-cli to your devDependency

    npm install xclap-cli --save-dev
    
    • Update your script field:

      Replacing all gulp into clap.

  2. Rename gulpfile.js into clap.js, OR if you don't have, create a new file called clap.js and put below contents into the file:

    require("electrode-archetype-react-app")();
    
  3. Run npm install and waiting for its finished.

  4. Run clap dev|hot or 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment