Code Monkey home page Code Monkey logo

put's Introduction

RN Spoiler

Expoexpo-template-bare-typescript をベースにした React Native のテンプレートです。

前提条件

  • React Native の開発環境が構築されていること
    • 必ず「React Native CLI Quickstart」というタブをクリックして、手順を実施してください。
    • 「Development OS」は、開発に利用している OS を選択してください。
    • (macOS のみ)「Target OS」は、「iOS」「Android」の両方の手順を実施してください。

使い方

新規プロジェクトの作成

次のコマンドを実行して、新規プロジェクトを作成できます。

expo init -t https://github.com/ws-4020/rn-spoiler.git <YourAppName>

<YourAppName> に設定した名前でディレクトリが作成されて、Git リポジトリとして初期化されます。Git リポジトリにする必要がない場合は.gitディレクトリを削除してください。 また、テンプレートプロジェクト自体のために.githubディレクトリを用意していますが、プロジェクトで不要であれば削除してください。

正しく生成できていることを確認するために、次のコマンドを実行してアプリが正しく起動することを確認してください。

npm run ios        # iPhoneシミュレータが起動します
npm run android    # Androidエミュレータが起動します

プロジェクトを作成したら、開発者向けガイドを参考に開発を始めることが出来ます。

expo-template-bare-typescript からの変更点

  • Editorconfig, ESLint, Prettier を追加
  • TypeScript の設定ファイルを修正、tscでの型チェックを lint に追加
  • Android でデフォルトで要求するパーミッションの最小化
  • App.tsxsrcディレクトリ配下に移動
  • 開発者ごとに簡単にSigningできるように、Signing情報を記述するテンプレートファイルをiOSのビルド設定に追加
  • UIライブラリとしてReact Native Elementsを追加

put's People

Contributors

kiyohome avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.