A Pen by B.E. Henriksen on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* See https://github.com/facebook/metro/issues/1 | |
* Modified for CRNA / Expo. Thanks @sebirdman, @GingerBear, @nicolascouvrat. | |
* | |
* 1. Checks for symlinked depencencies. | |
* 2. If found, generates symlinks-config.js. | |
* 3. Makes Expo's app.json use it. | |
* 4. Starts CRNA / Expo. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Babel CLI from current file", | |
"type": "node", | |
"request": "launch", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": "${workspaceRoot}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clones, branches and tries NPM project on exp/1 branch | |
# npmtry <repo> <folder> | |
# You're right, folder should be optional! | |
# I have it as an executable (chmod +x) npmtry symlinked to a npmtry.command so you can double click it... except that wouldn't work. | |
BRANCH='exp/1' | |
git clone $1 $2 \ | |
&& cd $_ \ |