create-component-lib
create-component-lib copied to clipboard
Create a library of React components that can be published to npm
After install create-component-lib with npm i create-component-lib, I tried to create a project with command like npx create-component-lib mycomponentlib within Visual Studio Code editor and I got error: '"/bin/bash"' is...
updated as per fixes described in issues #3 and #7
### Error ReferenceError: [BABEL] src/lib/TextInput.js: Unknown option > [email protected] build /Users/alechp/Code/alechp/.repositories/sandbox/cra-lib/sample-lib > rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__ ReferenceError: [BABEL] src/lib/TextInput.js: Unknown option: /Users/alechp/Code/alechp/.repositories/sandbox/cra-lib/sample-lib/node_modules/babel-preset-react-app/index.js.overrides....
I'm trying to create a component library that depends on [material-ui](https://material-ui.com/). When loading the library from the main project, I get a `Error: Invalid hook call.` what am I doing...
Anyone have a config for allowing the images to be exported?
Fantastic tool. Do you have a config for making this a typescript library?
Hey this package is fantastic, been using it to launch our entire internal library for multiple apps and it's been amazing. We're implementing `flow` now and are looking for ways...
Hey there! Are there any examples of how I could set up some kind of watch mode during development for compiling to the dist/ folder to leverage the `npm link`...
Hi, I'm running `npx creation-component-lib my-project` on windows10, and it tells me that the specified path cannot be found. Does it not support Windows now?thank you
If I create a test app with `npx create-component-lib myproj`, then attempt to run `npm run build` without making any changes to the code generated by create-component-lib / create-react-app, I...