pug-scss-ts-setup

0.7.4 • Public • Published

pug-scss-ts-setup

(psst-setup in short)

A setup for easy static site development without redundancy and with automation.

Features

  • Pug > minified HTML
  • SCSS > compressed and prefixed CSS inlined into HTML
  • TypeScript with ES6 modules > bundled, uglified ES5 JavaScript
  • Images (.jpg, .png) > compressed and converted to .webp
  • Other files are copied to dist
  • Watch mode compatible with all above

Installation

npm i -g pug-scss-ts-setup

Usage

CLI only for now.

psst-setup <command>
command Description
instant Sets up an empty-ish project and watches files for changes
instant -e Same as instant, but there are more example files to see how it looks like
build Builds the src directory to dist
watch Builds and watches files for changes
setup Sets up an empty-ish project
setup -e Sets up an example project

Run with the --dev option for development mode (no minify etc.).

Contributing

All pull requests, tests and issues are welcome.

License

MIT

Dependencies (19)

Dev Dependencies (22)

Package Sidebar

Install

npm i pug-scss-ts-setup

Weekly Downloads

18

Version

0.7.4

License

MIT

Unpacked Size

718 kB

Total Files

66

Last publish

Collaborators

  • volper