/expo-starter-lemonade

React Native starter with : Expo / Setup script / Automated version management, package publishing, auto generated changelog / Consistant code with Eslint, Prettier, pre-commit hook

Primary LanguageJavaScriptMIT LicenseMIT

Expo Starter Lemonade

github action test github action publish release number dependencies status dev dependencies status

commitizen semantic-release prettier license

What's in it ?

  • Expo framework

  • Setup script to make your life easier

  • Semantic Release for fully automated version management and package publishing

  • Auto generetaed CHANGELOG.md relying on Conventionnal Commits

  • Strong lint config with Eslint configured extended with Airbnb style guide & Prettier

  • Pre-commit hook that automatically lint & format code


Installation

  1. Clone this repo git clone https://github.com/JimmyBeldone/expo-starter-lemonade.git

  2. Run yarn setup (install dependencies & remove .git folder) and follow the instructions


Configure Semantic release

If it isn't done already, init your git repo :

git init
git remote add origin git@github.com:username/repository.git
git add .
git commit -m "first commit"
git push -u origin master
  1. Go to https://github.com/settings/tokens and generate a personnal access token so that semantic-release is allowed to access your repo.

  2. Create a new repository secret named GH_TOKEN and past your personnal access token.

  3. Your repository url must be set in package.json:

"repository": {
    "type": "git",
    "url": "https://github.com/JimmyBeldone/expo-starter-lemonade"
},
  1. Next time you push on master branch, a release will be added if your conventionnal commit type is correct.

License

MIT

Copyright (c) 2020 Jimmy Beldone