Skip to content

Instantly share code, notes, and snippets.

View fellypsantos's full-sized avatar
🎯
Focusing

Fellyp Karlon fellypsantos

🎯
Focusing
  • Brazil
View GitHub Profile
@fellypsantos
fellypsantos / webpack.config.js
Created February 25, 2020 18:40
Webpack configuration file, excluding devDependencies from build.
const path = require('path');
const nodeExternals = require('webpack-node-externals');
const package = require('./package.json');
module.exports = {
mode: 'production',
target: 'node',
entry: path.resolve(__dirname, 'index.js'),
output: {
path: path.resolve(__dirname, 'dist'),
@fellypsantos
fellypsantos / React Native (Android) - Rename applicationID, package name.md
Created November 10, 2019 06:17 — forked from markterence/React Native (Android) - Rename applicationID, package name.md
React Native (Android) - [ Changing application package name/bundle identifier ]

React Native (Android) - [ Changing application package name/bundle identifier ]

List of files to edit to change/rename your react-native android project. The following constants are used in the files to denote what kind of value should be placed.

  • APPLICATION_NAME - this will be used by react-native to identify your application. (settings.gradle, MainActivity.java, etc.)
  • APPLICATION_DISPLAY_NAME - display name in Android Home Screen.
  • ANDROID_PACKAGE_NAME - A valid android package name.
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",