core-example-library

About - Running tests - Publishing - Installing

Usage no npm install needed!

<script type="module">
  import coreExampleLibrary from 'https://cdn.skypack.dev/core-example-library';
</script>

README

core-example-library

CI/CD codecov License

Table of Contents

About

A very simple example of a core library using NodeJS and TypeScript. This could be used as a boilerplate for more complex projects.

Running tests

UT

npm run test

Coverage

npm run test:coverage

Testing build

npm run test-build

Publishing

The package.json is configured to run npm run ci before publish by using prepublishOnly. This a list of commands for local publish.

Publish patch

npm run publish-patch

Publish minor version

npm run publish-minor

Publish major version

npm run publish-major

Installing

npm i core-example-library