An open API service indexing awesome lists of open source software.

https://github.com/thesoftwarehouse/node-common

Common libraries used by TSH
https://github.com/thesoftwarehouse/node-common

Last synced: 8 months ago
JSON representation

Common libraries used by TSH

Awesome Lists containing this project

README

          



#
[![Build Status](https://travis-ci.com/TheSoftwareHouse/node-common.svg?branch=master)](https://travis-ci.com/github/TheSoftwareHouse/node-common)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-4dc71f.svg)](https://lerna.js.org/)

node-common are set of useful tools for developing Node.js applications.

## Monorepo

This repo is a monorepo which contains the libs:

- [Command Bus](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/command-bus)
- [Query Bus](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/query-bus)
- [Event Dispatcher](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/event-dispatcher)
- [Logger](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/logger)
- [Awilix Resolver](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/awilix-resolver)

## Setting up for local development

- Clone the repo
- From your workspace root run `npm install`, then `npm run bootstrap` and `npm run build`
- `npm run integration` - run integration tests in each package
- `npm run add -- [--scope=]` - add `` to `packages/package-name`. If `scope` flag is ommited it adds `dependency` to all packages.
- `npm run format` - run code formatter
- `npm run lint` - run linter analysis
- `npm run watch` - build packages and watch for changes

## License

[![license](https://img.shields.io/badge/license-MIT-4dc71f.svg)](https://raw.githubusercontent.com/TheSoftwareHouse/node-common/master/LICENSE)

This project is licensed under the terms of the [MIT license](/LICENSE).

## About us:

The Software House

tsh.png