brianchung808 / lass

:girl: Lass scaffolds a modern package boilerplate for Node.js

Home Page:https://lass.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lass


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

Table of Contents

Features

  • Unit testing with ava
  • Linting with eslint, xo, and 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

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 "niftylettuce@gmail.com"
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.1"

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.

Related

Contributors

Name Website
Nick Baugh http://niftylettuce.com
Pablo Varela http://pablo.life

Trademark Notice

Lass, Lad, 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

#

About

:girl: Lass scaffolds a modern package boilerplate for Node.js

https://lass.js.org

License:MIT License


Languages

Language:JavaScript 90.0%Language:HTML 10.0%