npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

amela-expo-template

v1.0.0

Published

## 1. Init project

Readme

Config và Build với EAS

1. Init project

Chạy command sau để init project:

npx create-expo-app app-name --template https://github.com/ngotheky/expo-template

Với app-name là tên project. Ví dụ:

npx create-expo-app my-app --template https://github.com/ngotheky/expo-template

2. Tạo App và File .env

Tạo 3 App trên Expo Dev

Tạo 3 app trên Expo Dev, mỗi môi trường (development, staging, production) tạo một app riêng.

  • Lý do: Expo giới hạn mỗi project chỉ được build 30 lần/tháng, nên việc tách app giúp môi trường development không ảnh hưởng đến các môi trường khác.

Cấu hình Biến Môi Trường

Điền các thông tin sau vào file .env tương ứng với từng môi trường:

  • APP_NAME
  • SLUG
  • EXPO_PROJECT_ID
  • EAS_UPDATE_URL

Lưu ý:

  • Expo sẽ tự động sinh ra folder iOS và Android trên server build.
  • Khi đổi tên app, cần tạo lại app mới để tránh lỗi khi build.

3. Config Build

Cho iOS

Build với Account Apple Developer

  1. Khi chạy script build, đăng nhập vào account Apple Developer để sử dụng credential từ tài khoản.

Build với Credential Local

  1. Copy file certificate.p12 và file .mobileprovision vào thư mục credentials.

  2. Thêm đường dẫn và password của certificate vào file credentials.json.

  3. Chạy script build-local-credential-ios để build iOS sử dụng credential local.

Cho Android

  1. Chạy script generate-keychain-prod.
  2. Select platform Android.
  3. Chọn profile production.
  4. Chọn Keystore: Manage everything needed to build your project.
  5. Chọn Set up a new keystore và bấm enter để tạo keystore.
  6. Sau khi tạo xong bấm enter, chọn Go back để quay lại menu credentials.
  7. Chọn credentials.json: Upload/Download credentials between EAS servers and your local json.
  8. Chọn Download credentials from EAS to credentials.json để tải keystore về, keystore sẽ tự động thêm vào folder credentials và cũng tự update thông tin vào file credentials.json.
  9. Bấm enter để quay lại menu, chọn Upload credentials from credentials.json to EAS để upload keystore lên EAS.

4. Config Auto Submit

Cho Android

  1. Truy cập Google Cloud Console.
  2. Vào mục IAM & Admin > Service Account > Create Service Account.
  3. Điền thông tin vào form để tạo service account.
    • Ở mục Grant this service account access to project, chọn role: - Service Accounts > Service Account User.

Tạo Key

  1. Chọn Menu Actions > Manage Keys.

  2. Chọn Add Key > Create Key.

  3. Đổi tên file JSON tải về thành play-store.json, đặt vào thư mục gốc dự án.

  4. Copy email service account.

  5. Vào Google Play Console, mời email với vai trò admin.

  6. Enable Google Play Android Developer API.

  7. Chạy script build-and-submit-android-prod để submit app lên Internal Test (có thể điều chỉnh trong eas.json).

Lưu ý:

  • Submit thủ công một bản đầu tiên trước khi sử dụng EAS submit.

Cho iOS

  1. Chỉnh sửa thông tin account build trong file eas.json.

  2. Chạy script build-and-submit-ios-prod để submit app lên Testflight.