@nejcm/js-library-boilerplate

Starter kit for your js library projects.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@nejcm/js-library-boilerplate
1.2.44 years ago4 years agoMinified + gzip package size for @nejcm/js-library-boilerplate in KB

Readme

๐Ÿ“ฆ JS library boilerplate
Starter kit for your js library projects.


!NPMnpm-badgenpm-link !JavaScript Style Guidestyle-guide-badgestyle-guide
!Build Statusbuild-badgebuild !Semantic releasesemantic-release-badgesemantic-release !Code Coveragecoverage-badgecoverage !versionversion-badgepackage !downloadsdownloads-badgenpmtrends !MIT Licenselicense-badgelicense
!Storybookstorybook-badge
!All Contributorsall-contributors-badge !PRs Welcomeprs-badgeprs !Code of Conductcoc-badgecoc
!Watch on GitHubgithub-watch-badgegithub-watch !Star on GitHubgithub-star-badgegithub-star

Table of Contents


- ๐Ÿ› Bugs - ๐Ÿ’ก Feature Requests - โ“ Questions

โญ๏ธ Features

  • Rollup 2
  • Babel 7
  • Jest unit testing
  • Test coverage and badges
  • Storybook
  • Travis
  • Docs
  • File templates for TODO, README, CONTRIBUTING, ISSUETEMPLATE, etc...

๐Ÿ“ฆ Getting Started

Built With

  • Love :heart:

Prerequisites

  • Node.js >=8

๐Ÿ’ฟ Installation

This module is distributed via npmnpm which is bundled with nodenode.
# clone project
git clone https://github.com/nejcm/js-library-boilerplate.git my-project

# move into project
cd my-project

# install deps
npm install

๐Ÿ’Ž Customization

  1. Before shipping, make sure to:
  2. Edit LICENSE file
  3. Edit package.json information (These will be used to generate the headers for your built files)
  4. Replace and fill in FILL, FILL:... tags with your information
  5. Remove any files you do not need or edit them accordingly

โš™๏ธ Configuration

Check package.json for configuration options.

๐Ÿš€ Deployment

npm run build

๐ŸŽ“ Versioning

We use SemVer for versioning. For the versions available see the link to tags on this repository.

๐Ÿงช Tests

npm run tests

๐Ÿ’„ Style guide

The code styles followed are documented and set with linter rules inside .eslintrc file.

Issues

Looking to contribute? Look for the Good First Issuegood-first-issue label.

๐Ÿ› Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.
See Bugs
bugs

๐Ÿ’ก Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a ๐Ÿ‘. This helps maintainers prioritize what to work on.
See Feature Requestsrequests

โ“ Questions

For questions related to using the library, please first read the docs instead of filing an issue on GitHub.

Authors

Contributors


<td align="center">
  <a href="https://github.com/nejcm">
  <img src="https://avatars3.githubusercontent.com/u/1865210?v=3" width="100px" alt="Nejc"/>
  <br />
  <sub><b>Nejc Murลกiฤ</b></sub>
</a>
<br />
<a href="https://github.com/nejcm/js-library-boilerplate/commits?author=nejcm" title="Code">๐Ÿ’ป</a> 
<a href="https://github.com/nejcm/js-library-boilerplate/commits?author=nejcm" title="Documentation">๐Ÿ“–</a> 
<a href="#infra" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> 
<a href="https://github.com/nejcm/js-library-boilerplate/commits?author=nejcm" title="Tests">โš ๏ธ</a>


This project follows the all-contributorsall-contributors specification. Contributions of any kind welcome!

Support

Reach out to us at one of the following places:

LICENSE

MIT