generator-react-component
generator-react-component copied to clipboard
React Component Project Generator
I admit this is a bit of a newbie question. I'm making a simple React Component that also depends on a CSS file. How do I make it so that...
how to parse ES6 'fat arrow' functions to ES5 using this generator? So far the building is crashing...
Broken dependency on require-dir within gulp-git, stack trace: ypeError: require.extensions.hasOwnProperty is not a function at requireDir (/Users/Kyle/Development/PactSafe/pactsafe-react-sdk/node_modules/require-dir/index.js:93:37) at Object. (/Users/Kyle/Development/PactSafe/pactsafe-react-sdk/node_modules/gulp-git/index.js:4:18) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at...
I have a few different components inside a generator-react-component skeleton and I'm wondering if there's any way to export multiple components from the skeleton
Getting babel error: `Browserify Error { ReferenceError: [BABEL] /Users/max/workspace/frontend/resources/assets/js/react-components/example/src/example.js: Unknown option: /Users/max/workspace/frontend/.babelrc.presets while parsing file: /Users/max/workspace/frontend/resources/assets/js/react-components/example/src/example.js` if i do not want to remove babelrc, but how do i ignore this...
Hi, Jed. In windows, `set NODE_ENV=production` is ok, but `NODE_ENV=production` will throw an error, I found a node package `cross-env`, it can help to set environment variables cross platform. [https://github.com/kentcdodds/cross-env](https://github.com/kentcdodds/cross-env)
Should `npm release` do this?
``` Error: Command failed: git tag -a -m "Release v1.0.0" 'v1.0.0' fatal: tag 'v1.0.0' already exists at ChildProcess.exithandler (child_process.js:207:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:852:16) at Socket....
Hi Jed, awesome project! What's the best way you've found to add CSS to a released component? Seems like just giving a dist file for people to copy/paste into their...