2.0.1 • Published 6 years ago

generator-preact-app-starter v2.0.1

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

generator-preact-app-starter

Getting started

This is a yoeman generator for a Preact app starter kit. To get started run these commands:

$ npm i -g yo

$ npm i -g generator-preact-app-starter

$ mkdir my-new-project && cd my-new-project

$ yo preact-app-starter

What do you get?

Scaffolds out a complete JavaScript library directory structure for a Preact app including a webpack config, babelrc and eslintrc files, and and example component and test file. The structure should look like this:

├── .babelrc
├── .eslintrc
├── .gitignore
├── LICENSE
├── README.md
├── package.json
├── webpack.config.js
└── __tests__/
|   └── index.js
└── public/
|    └── index.html
└── src/
    └── index.js

License

MIT