0.7.1 • Published 9 months ago

create-universal v0.7.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

create-universal

Cross-platform Expo/shadcn project generator to bootstrap an app that runs on iOS, Android, and web.

Includes TypeScript, Expo, Expo Router, web support, SVG support, an opinionated (auto-fixable) linting config, and shadcn/Tailwind via react-native-reusables/NativeWind.

Usage

With npm:

npm create universal app

With yarn:

yarn create universal app

Or specify a name to create your app in that directory:

npm create universal app your-app-name

Note: To ensure npm uses the latest if you used a previous version, you can run npm create universal@latest app.

Explanation

This essentially does the following:

  • Install base dependencies with npm create -y expo -- -y your-app-name (the default expo template)
  • Replace the default/tabs example with a bare-bones template
  • Add some extra dependencies like react-native-svg
  • Add eslint/prettier with eslint-config-universe and eslint-plugin-perfectionist
  • Add a subset of shadcn/tailwind via react-native-reusables/nativewind
  • Format code based on the linting config

Then you can simply run the following to see the web version of your new app:

cd my-app && npm start
0.7.1

9 months ago

0.7.0

9 months ago

0.5.8

10 months ago

0.5.7

10 months ago

0.5.4

10 months ago

0.5.3

10 months ago

0.5.6

10 months ago

0.5.5

10 months ago

0.5.0

10 months ago

0.5.2

10 months ago

0.6.0

10 months ago

0.5.1

10 months ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago