1.0.0 • Published 6 years ago

generator-headsup v1.0.0

Weekly downloads
23
License
-
Repository
github
Last release
6 years ago

generator-headsup

yeoman generator to kickstart JS development with bare essentials and nothing more

prototype like never before!

  1. npm i -g yo generator-headsup
  2. yo headsup
  3. npm start
  4. localhost:8080

build? npm run build


What does it do?

after runing yo headsup:

  1. it will ask for project name
  2. it will run npm install to get dependencies (my nonfancy setup takes ~10s)
  3. it will create src/index.js and src/index.html for you to start

What's behind

is a bunch of webpack and its dependencies

it's configured to have:

  • dev server and build command
  • babel with es2015, stage-0 and react presets
  • css modules, postcss with precss and autoprefixer

File tree:

├── .gitignore
├── .nvmrc
├── package.json
├── src            <--- do your magic here
│   ├── index.html <--- served on npm start
│   └── index.js   <--- entry point for JS
├── webpack.config.js
└── package-lock.json

TODO

  • generate dummy readme
  • stupid simple build step
  • test
  • optional mocha
  • optional react
  • optional css (with all the sparkles)
  • optional hmr?
1.0.0

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.1

7 years ago