Micro app generator jugs makes game development fun again.
MIT License
App generator jugs makes development fun again!
09-13-2022:
Switched Parcel out for vite.js and updated linting rules
02-09-2021:
Removed slush altogether. Doesn't require another npm module to install
10-22-2019:
Moved from webpack to Parcel to improve speed and greatly decrease complexity
12-17-2018:
Webpack now keeps css file separate instead of attached by javascript
Webpack will now copy files to dist folder and listen to assets automatically
Simplified file structure even more (/src/app -> /src)
06-05-2018:
Updated all npm modules to latest versions including webpack
cleaning of folders is done with webpack instead of npm scripts now
Using latest `ion-cloud` which is more performant
12-06-2016:
Webpack now compiles everything, gulp has been removed
`npm start` will now run everything and compile `dist` folder
`gulp patch` is possible with `npm` for info: `man npm-version`
`npm version patch -m "message goes here"`
Significant performance and accuracy of files improved
01-27-2016:
Webpack now uses commons bundler for vendor files
ESLint now ignores vendor files
gulp bump added `gulp patch` `gulp feature` `gulp release` now supported
11-25-2015:
Using ESLint instead of JSHint (included settings file as .eslintrc)
Using Webpack to handle ES2015 modules
Gulpfile is now ES2015 code
Removed annoying notification messages
Simply install this app generator globally:
npm i -g jugs
mkdir appName
cd appName
jugs
Follow the questions and it will finalize by installing all dependencies for you. In order to start the app and have it automatically check for code changes and autoupdate merely run the command:
npm start
And just like that, you're on the way to making your app!
Javascript files are compiled together based upon their dependencies declared using ES2015 import
statements.
project
├─dist
│ └─<<────(assets are copied here on compile)
├─ public (images/pdf/other go here)
├─ src
│ ├─ index.styl
│ ├─ index.js
│ └─ Pipeline.js
├─ vite.config.js
├─ package.json
└─ readme.md
The boilerplate comes setup with the perspective of a video game developer, but can be easily transitioned into other avenues. Two very basic libraries are included that I developed : Easel and Ion.
Easel sets up a canvas that will fit the perspective of the window and automatically adjust in size when the window is resized.
Ion is a particle engine made for canvas 2d context. The library is well-documented.
This boilerplate of mine is just a combination of great tools, all credit goes to those who actually put in all the hard work to create them.