/nativeup

Create a React Native project pre-configured for linting and React Native Testing Library component tests

Primary LanguageShell

nativeup

DEPRECATED: this library has been superceded by jessup, a project setup script for React Native, React for the web, and vanilla JS. Please check it out.

Script to set up a new React Native CLI or Expo project with some basic libraries, including:

Requirements

Usage

Add nativeup/bin to your PATH.

# nativeup [projecttype] my-new-app-name

Where [projecttype] is one of:

  • cli - React Native CLI
  • expo - Expo

Manual Steps

The following steps must be done manually after running nativeup:

Expo

In package.json, add:

+  "jest": {
+    "preset": "jest-expo"
+  },
   "private": "true"
 }

License

MIT