Skip to content

Boilerplate for web development with Pug and Sass built using npm scripts. No gulp, no grunt, no webpack.

License

Notifications You must be signed in to change notification settings

juiceboxes/pug-sass-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juiceboxes/pug-sass-boilerplate

Boilerplate for web development with Pug and Sass

Built using npm scripts

No gulp, no grunt, no webpack

Includes a .travis.yml for Travis CI

Structure

yourProject
├───dist
│   ├─── base.css (compiled)
│   ├─── base.min.css (minified css)
│   └─── index.html (compiled)
└───src
    ├─── pug
    │   └─── index.pug
    └─── sass
        ├─── base.scss (imports)
        ├─── partials
        │   └─── _foo.scss
        ├─── utils
        │   └─── _foo.scss
        └─── vars
            └─── _foo.scss

Development Scripts

npm run test: Builds index.pug and base.scss for TravisCI

npm run start: Builds index.pug and base.scss, watches for changes

npm run build: Builds index.pug and base.scss

npm run build:pug: Builds index.pug

npm run build:sass: Builds base.scss

npm run build:ugly: Builds base.min.scss

npm run watch: Watches index.pug and base.scss for changes

npm run watch:pug: Watches index.pug for changes

npm run watch:sass: Watches base.scss for changes

About

Boilerplate for web development with Pug and Sass built using npm scripts. No gulp, no grunt, no webpack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published