Skip to content
JavaScript ES6, Sass and Pug "on-the-fly" server built on Connect / Browser-Sync
Branch: master
Clone or download
Latest commit 8b8baed Sep 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode WORKING build and serve Feb 15, 2018
bin more package changes, sketches for new features May 11, 2018
lib disable injector for now, add more compiler sketches Jul 3, 2018
src update penny sketches Jun 27, 2018
test-src add resolve, for require Jun 26, 2018
test disable injector for now, add more compiler sketches Jul 3, 2018
.eslintrc.js add pug utilities Jan 9, 2018
.gitignore so much new thingz Feb 17, 2018
.npmignore add npmignore Mar 5, 2018
LICENSE Initial commit Nov 16, 2017
README.md update readme and pkg Mar 5, 2018
TODO.md disable injector for now, add more compiler sketches Jul 3, 2018
index.js clean up index, reinstate isDev option for build Apr 26, 2018
jsconfig.json more todos; add loggers; use pugLogger Nov 16, 2017
logo.svg move logo to own file; link as img in readme Jan 9, 2018
package-lock.json 1.2.1 Sep 11, 2018
package.json

README.md

penny
a zero-config on-the-fly-compiling dev server
...which also builds and is configurable

npm published v dependencies node supported v

npm install -g @lunelson/penny

Penny is not another bundler. It is an on-request in-memory-compiling live-reloading server for development, and a static-site builder for production. It avoids the pain of build-tool configuration, and the wasted time of full-site rebuilds.

  • Pug.js, Libsass (via node-sass) and Babel/Webpack as view-engines
  • Advanced helper functions incl. data-loading in templates and stylesheets
  • Sourcemaps, file-watching and live-reloading in development; minification and purging in production
# given this structure...
# .
# ├── out
# └── src
#     ├── index.pug
#     ├── main.js
#     └── main.scss

# run this to serve /src live on localhost:3000

penny serve src

# ...or run this to build from /src to /out...

penny build src out

# ...and get this structure
# .
# ├── out
#     ├── index.html
#     ├── main.js (es5)
#     └── main.css
# └── src
#     ├── index.pug
#     ├── main.js (es6)
#     └── main.scss
You can’t perform that action at this time.