This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@officialk/template-npm-package
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-dev.0 • Public • Published

NPM template

This is a pre-configured template repository to help you quickly get started with developing npm/yarn packages

Documentation site Coverage info site

NPM

NPM version NPM size NPM vunerabilities

GitHub

GitHub License GitHub issues GitHub PRs GitHub Milestones GitHub Sponsors

Installation

the project was built and tested using the yarn package manager. so to set up the project please run the following

yarn setup

this will ask you a bunch of questions that will help you setup up your project quickly

Usage

Refer to INSTALL

Tools

this section explains the various files, tools and folders in the template.

yarn

documentation

used to run and manage the dependencies and workings of the template

typescript

documentation

used for developing consistent JS code with typescript types and rules, configured with tsconfig.json that generate the output in ./dist folder and then minified using minify-all-js module.

nodemon

documentation

used to watch js/ts files and run the given command for ease of development, configured in nodemon.json.

prettier

documentation

used for code formatting to maintain consistency across commits, configured with .prettierrc and uses the .prettierignore to ignore formatting files and folders.

eslint

documentation

used for maintaining code quality, configured with .eslintrc and uses the .eslintignore to ignore files and folders.

jest

documentation

used for code coverage and testing that is configured with ./jest.config.js the coverage data is generated into ./coverage folder.

jsdoc + betterdocs

jsdoc documentation betterdocs documentation

used to generate documentation that is already written in the code using the jsdoc module cofigured with jsdoc.json the output is generated in ./docs folder.

snyk

documentation

used to check vunerabilities in package dependencies and code configured in .snyk

Others

http-server

documentation

used to serve the static html files in documentation, coverage,QA, etc

lint-staged

documentation

used to format and check code quality of the staged files, configured in .lintstagedrc

commitizen

documentation

helps create conventional commits, configured in .czrc

commitlint

documentation

used to lint the created commit, configured with .commitlintrc

husky

documentation

used to add git hooks to let the dev check commit validity before pushing

semantic-release

documentation

used to create releases with the help of conventional commits

github-label-sync

documentation

used to create better integrated labels in the github repository, configured in .github/labels.json

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Some files to refer

Please make sure to update tests as appropriate.

License

LICENSE

Readme

Keywords

none

Package Sidebar

Install

npm i @officialk/template-npm-package

Weekly Downloads

0

Version

1.0.1-dev.0

License

ISC

Unpacked Size

12.7 kB

Total Files

9

Last publish

Collaborators

  • officialkarthikk