0.3.1 • Published 6 years ago

puttputt v0.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

🚗 puttputt

a simple react component generator

✨ features

  • 💰 JS and TS ready-- renders TypeScript components if it detects any TS configs in root
  • 👉 next-gen es6
  • 👀 as-unopinionated-as-possible template code
  • 📝 generates tests (jest/enzyme) if necessary
  • 😈 redux-ready

🔮 usage

$ yarn add --dev puttputt

include a script in your package.json

scripts: {
  "generate": "puttputt"
}

✔️ prerequisites

by default, puttputt looks for an app source directory and will fail if it can't don't exist. this is a pitfall of plop not having built-in path logic.

for now, it looks for one of the following common dirs:

  • src/
  • client/
  • src/client

🔥 redux

redux generators are visible when your project is using redux (i.e. if redux is listed in your dependencies)

puttputt will generate specific templates if your app is using any of the following:

  • redux-saga
  • immutable

for redux components (actions/reducers), puttputt looks for the following directories:

  • src/
  • common/
  • src/common

🙌 shoutouts


init'd with golf ⛳️

0.3.1

6 years ago

0.3.0

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago