GithubHelp home page GithubHelp logo

sachskaylee / create-react-prototype Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 327 KB

A CLI similar to create-react-app, just for simple & small libraries. ๐Ÿ“š

JavaScript 95.35% HTML 3.64% CSS 1.01%
babel boilerplate cli compile create-react-app create-react-library create-react-prototype library react storybook

create-react-prototype's People

Stargazers

 avatar

Watchers

 avatar

create-react-prototype's Issues

Scoped packages

As of now it is impossible to publish public scoped packages, as this would require npm publish --access public.

We should read the "private" property in the package.json and base the parameter off this.

Don't forget the yarn version.

Better Storybooks

The current storybooks have a few problems:

  • You have to manually require each story in a config file. I see two issues in this sentence: manually require and config file.
  • The storybook is an extra project. I'd prefer to be able to write .story.js files, just like .test.js files without an extra project for that.

If someone wants to volunteer for this, there are a few requirements:

  • I don't want the storybook as an explicit dependency, nor rely on the start-storybook command to exist in the library/node_modules/.bin as a transient dependency
  • Ideally having a built in JSX & Proptypes preview would be ideal. There are a few addons for this available

TypeScript support

Optional TypeScript support would be desirable.

This would also mean linting using TSLint instead of ESLint for .ts files.

"yarn test" fails sometimes

When installing the project using yarn sometimes [email protected] instead of [email protected] is installed, causing the unit tests to fail.
This seems to be related to how jest-config, etc. has set up their dependencies.

I've tried various different solutions posted online, but none to avail. The strangest thing is that sometimes it works, then you go into a different directory, repeat the same steps, and things stop working. (Even with yarn cache clean beforehand)

This issue does not happen in NPM.
I'll go ahead and mark yarn as unsupported for now until either I or a super awesome contributor can figure this out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.