Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nishantrpai
nishantrpai / markets.json
Created September 21, 2018 13:30 — forked from sshirokov/markets.json
PHL Farmers Markets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
component=$1
echo "export {$component} from './$component';" >> index.js
echo "@import './$component/style.css';" >> index.css
mkdir $component
cd $component
touch index.js
touch style.css
touch $component.js
echo "export { default as $component } from './$component';" >> index.js