- React
- MobX
- Webpack
- Babel
- SASS compiler
- CSS modules
- Jest
- zafClient
- ZAT Commands (We include some commands that require you install ZAT )
Start by cloning this repository with git clone https://github.com/Cloudhuset/Zendesk-React-App-Boilerplate.git
Install all node modules before running any commands since some commands might require a specific node module.
Note that yarn can be replaced with npm by writing npm run instead.
This command can be used to build to build the application to the dist/ folder using the production env.
This command can be used to build to build the application to the dist/ folder using the development env.
This command watches for file changes and when a file is changed builds to the dist/ folder using the development env.
This command packages the dist/ folder for upload to Zendesk in a .zip file.
Note you must run yarn build at least once before using this command.
This command uses npm-run-all to run both the yarn build and the yarn package command with one command.
This command uses ZAT to serve the content to your Zendesk directly from your computer
Read more about ZAT Here: https://developer.zendesk.com/apps/docs/developer-guide/zat
This command uses rimraf to remove the last .zip from the dist/ folder.
This command uses Jest to run tests. All tests are placed in the src/__tests__ folder.
Please let us know by making an issue here on github. Also feel free to contribute to the development, by making a pull request.
License: MIT