Skip to content

Instantly share code, notes, and snippets.

Avatar

Mame Medoune DIOP m3doune

  • Dakar, Senegal
View GitHub Profile
@erikyuntantyo
erikyuntantyo / react-native-offline-bundling-android
Last active Mar 15, 2022
Build react-native offline bundling into android
View react-native-offline-bundling-android
# create assets folder in the current project
$ mkdir android/app/src/main/assets
# create bundle script
$ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
# execute command to run android to create debug apk
$ react-native run-android
# Or change to android folder
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active Dec 4, 2022
How to publish packages to NPM
View how-to-publish-to-npm.md

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version