Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion create-component-lib
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cd ../..
rm package.json
curl -o package.json https://gist.githubusercontent.com/aakashns/6a405588a1b25e15a78e92d797919895/raw/60c59b3d18f636b850071a252b2e6589f8d752df/package.json
sed -i '' "2s/simple-component-library/$1/" package.json
npm i react react-dom react-scripts babel-cli babel-preset-react-app rimraf --save-dev
npm i react react-dom react-scripts @babel/cli @babel/core @babel/preset-env @babel/preset-react rimraf --save-dev

# Set up transpilation
echo '{ "presets": [["react-app", { "absoluteRuntime": false }]] }' > .babelrc
Expand Down