Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/argshook/generator-headsup
yeoman generator to kickstart JS development with bare essentials and nothing more
https://github.com/argshook/generator-headsup
javascript webpack yeoman-generator
Last synced: about 20 hours ago
JSON representation
yeoman generator to kickstart JS development with bare essentials and nothing more
- Host: GitHub
- URL: https://github.com/argshook/generator-headsup
- Owner: argshook
- License: mit
- Created: 2017-03-06T23:18:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T14:34:52.000Z (over 6 years ago)
- Last Synced: 2024-12-19T02:15:08.161Z (27 days ago)
- Topics: javascript, webpack, yeoman-generator
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# `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`
1. `yo headsup`
1. `npm start`
1. [localhost:8080](http://localhost:8080)build? `npm run build`
---
# What does it do?
after runing `yo headsup`:
1. it will ask for project name
1. it will run `npm install` to get dependencies (my nonfancy setup takes ~10s)
1. 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
* [X] stupid simple build step
* [ ] test
* [ ] optional mocha
* [ ] optional react
* [ ] **optional** css (with all the sparkles)
* [ ] optional hmr?