Skip to content
/ npm-base Public template

Base npm package with CircleCi, npm deployment, TypeScript, eslint, jest, prettier

License

Notifications You must be signed in to change notification settings

akirchmyer/npm-base

Repository files navigation

npm-base

This is a base template that can be used to rapidly create and publish npm packages to a registry.

Includes the following:

  • TypeScript
  • Jest
  • Eslint
  • Prettier
  • Publish to registry via CircleCi (using secure CircleCi ENV values)

To start a new project based on this repo

  • Clone the repo
git clone git@github.com:akirchmyer/npm-base.git reponame

To build compiled js

npm run build

To run unit lint & unit tests

npm run unit
npm run lint
npm run lint:fix // clean up files per eslint config
npm test // run lint & unit tests

To deploy to the npm registry via CircleCi

Once CircleCi is enabled and registry env values are configured, deployment to an npm registry is done automatically via CircleCi for all updates to the main branch.

git push origin main

About

Base npm package with CircleCi, npm deployment, TypeScript, eslint, jest, prettier

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published