Need private packages and team management tools?Check out npm Teams »

react-native-template-parcmg

0.0.9-development • Public • Published

React Native + TypeScript

Start a new React Native project with TypeScript, Prettier & TSLint

DO NOT INSTALL THIS PACKAGE DIRECTLY

Usage

When creating a new React Native project, use the command:

react-native init projectname --template parcmg
cd projectname
node setup.js
npm install
react-native link react-native-gesture-handler

That's it! 🎉 Then, proceed as usual:

  • react-native run-ios

Includes

  • TypeScript
  • Prettier (with commit hook)
  • TSLint
  • Jest
  • Redux
  • Redux-Saga
  • React-Navigation

Requirements

  • npm i -g react-native-cli

Project File Structure

.
├── LICENSE
├── README.md
├── __tests__
│   └── App.tsx
├── dependencies.json
├── devDependencies.json
├── index.js
├── jest.config.js
├── package.json
├── package.template.json
├── rn-cli.config.js
├── setup.js
├── src
│   ├── @types
│   │   └── index.d.ts
│   ├── App.tsx
│   ├── AppContainers.tsx
│   ├── Bootstrap.tsx
│   ├── components
│   │   ├── README.md
│   │   ├── TodoItem.tsx
│   │   └── index.ts
│   ├── containers
│   │   ├── README.md
│   │   └── RootDrawer.tsx
│   ├── graphics
│   │   ├── README.md
│   │   └── icons
│   │       ├── back.png
│   │       ├── home-focused.png
│   │       ├── home.png
│   │       ├── ordered-list-focused.png
│   │       ├── ordered-list.png
│   │       ├── user-focused.png
│   │       └── user.png
│   ├── helpers
│   │   └── README.md
│   ├── reducers
│   │   ├── app.ts
│   │   ├── index.ts
│   │   └── todo.ts
│   ├── sagas
│   │   └── user.ts
│   ├── screens
│   │   ├── Auth
│   │   │   ├── Signin.tsx
│   │   │   └── Signup.tsx
│   │   ├── Detail.tsx
│   │   ├── README.md
│   │   └── RootTabs
│   │       ├── Home.tsx
│   │       ├── Me.tsx
│   │       └── Todo.tsx
│   ├── services
│   │   ├── README.md
│   │   └── UserService.ts
│   ├── store
│   │   └── index.ts
│   ├── types
│   │   └── index.ts
│   ├── ui
│   │   ├── README.md
│   │   ├── TouchableItem.tsx
│   │   └── index.ts
│   └── utilities
│       └── README.md
├── tsconfig.json
└── tslint.json

Install

npm i react-native-template-parcmg

DownloadsWeekly Downloads

0

Version

0.0.9-development

License

MIT

Unpacked Size

106 kB

Total Files

51

Last publish

Collaborators

  • avatar