Back to directory
lassjs avatar

lass

:girl: Lass scaffolds a modern package boilerplate for Node.js. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/lassjs/lass.git

651

Stars

56

Forks

9

Watchers

MIT

License

Lass

chat build status code coverage code style styled with prettier license npm downloads

Lass scaffolds a modern package boilerplate for Node.js
A lass that fell in love with a lad • Built by @niftylettuce and contributors

:heart: Love this project? Support @niftylettuce's FOSS on Patreon or PayPal :unicorn:

Table of Contents

Features

  • Unit testing with ava
  • Commit linting with commitlint
  • Linting with xo (uses eslint and prettier)
  • Markdown Linting with remark
  • Automatic code formatting with prettier
  • Automatic git init
  • Automatic npm install (or yarn install if selected)
  • Automatic builds, tests, and code coverage uploading to Codecov with Travis-CI
  • Includes git/editor configurations:
  • Automatic markdown formatting and linting with remark
  • Highly configurable and remembers your defaults with sao
  • Test coverage with nyc
  • Automatically generated files with tailored defaults
    • Readme with badges through Shields.io
    • Choose from (343) different licenses with spdx-license-list (defaults to your npm default or MIT)
    • Automatically inserts license year/name/email/website for MIT license if selected

Requirements

Node.js v10+

Install

npm:

npm install -g lass

yarn:

yarn global add lass

Usage

Create a package

lass new-package
cd new-package

Test it

npm:

npm test

yarn:

yarn test

Tips

Configuration

You should configure npm init defaults before using this package.

Run the following commands and replace the values below with your own:

npm config set init-author-email "[email protected]"
npm config set init-author-name "Nick Baugh"
npm config set init-author-url "http://niftylettuce.com"
npm config set init-license "MIT"
npm config set init-version "0.0.0"

These defaults get utilized by lass when scaffolding a package and npm init in general.

To check your existing configuration, run npm config list -l.

Version Bump and Release

We highly recommend to use the tools np and release to version bump and release your package to GitHub and NPM.

Contributors

Name Website
Nick Baugh http://niftylettuce.com
Pablo Varela http://pablo.life
Shaun Warman http://shaunwarman.com
Imed Jaberi https://www.3imed-jaberi.com
Spencer Snyder https://spencersnyder.io

Trademark Notice

Lass, Lad, Cabin, Lipo, and their respective logos are trademarks of Niftylettuce LLC. These trademarks may not be reproduced, distributed, transmitted, or otherwise used, except with the prior written permission of Niftylettuce LLC. If you are seeking permission to use these trademarks, then please contact us.

License

MIT © Nick Baugh

#

Releases

chore: bump deps 2dfc819 Merge pull request #72 from lassjs/commonjs-remark-cli 65afd48 fix: pin remark-cli to commonjs form 79c5386 Merge pull request #65 from Spence-S/master 65298bc feat: adds...

Nov 13, 2020

Download .zip

remove eslint from dev deps .. (#64) 0403bbf

v3.0.8...v3.1.0

Oct 18, 2020

Download .zip

chore: bump deps 1c7d99c Create FUNDING.yml e0dde18 v3.0.7 2995ad4 fix: fixed huskyrc config 44aa062

v3.0.6...v3.0.8

Aug 15, 2020

Download .zip

fix: fixed huskyrc config 44aa062

v3.0.6...v3.0.7

Aug 15, 2020

Download .zip

fix: fixed travis and unlocked xo/eslint versions in template 4dd3725

v3.0.5...v3.0.6