1.1.22 • Published 4 years ago

react-native-template-thejoaov-redux v1.1.22

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

react-native init "myApp" --template=thejoaov-redux


Template created to save time configuring a new react-native project. It comes with:

VsCode Extensions:

  • Eslint
  • Prettier
  • EditorConfig
  • Rocketseat React Native Snippets
  • VsCode Styled Components
  • GitLens
  • Material Icon Theme

Dependencies:

  • axios
  • immer
  • prop-types
  • react-native-gesture-handler
  • react-navigation
  • react-redux
  • reactotron-react-native
  • reactotron-redux
  • reactotron-redux-saga
  • redux
  • redux-persist
  • reduxsauce
  • redux-saga
  • seamless-immutable
  • styled-components

DevDependencies:

  • @commitlint/cli
  • @commitlint/config-angular
  • @react-native-community/eslint-config
  • babel-eslint
  • babel-plugin-root-import
  • babel-plugin-transform-remove-console
  • eslint
  • eslint-config-airbnb
  • eslint-import-resolver-babel-plugin-root-import
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-native
  • eslint-plugin-prettier
  • eslint-config-prettier
  • husky
  • lint-staged
  • prettier

Structure

thejoaov-redux
├── .vscode
│   └── extensions.json
├── src
│   ├── config
│   │   └── ReactotronConfig.js
│   ├── pages
│   │   └── Main
│   │       ├── index.js
│   │       └── styles.js
│   ├── services
│   │   └── api.js
│   ├── store
│   │   ├── modules
│   │   │   ├── auth
│   │   │   │   ├── actions.js
│   │   │   │   ├── reducer.js
│   │   │   │   └── sagas.js
│   │   │   ├── rootReducer.js
│   │   │   └── rootSaga.js
│   │   ├── createStore.js
│   │   ├── index.js
│   │   └── persistReducers.js
│   ├── index.js
│   └── routes.js
├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── .huskyrc.js
├── .lintstagedrc.js
├── .prettierrc.js
├── LICENSE
├── README.md
├── babel.config.js
├── dependencies.json
├── devDependencies.json
├── index.js
├── jsconfig.json
└── package.json

About husky and lint-staged

After the project was created with react-native-cli, probably the git will not be initialized, thus, during the husky package installation, there will be no .git folder to install husky's hooks. The workaround if you want to use these two pre-configured packages is:

1 - After the project created, do rm -rf node_modules (or delete node_modules folder manually);

2 - Initialize git repository with git init (this will create the .git folder);

3 - Do the initial commit, with git add . && git commit -m "Initial Commit";

4 - Reinstall the modules with yarn install or npm install;

Then these two will be normally working :sweat_smile:

1.1.22

4 years ago

1.1.21

4 years ago

1.1.20

4 years ago

1.1.19

4 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.27

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago