@armorjs/build
v0.0.2
Published
![CI](https://github.com/armorjs/build/workflows/CI/badge.svg?branch=master) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=armorjs_build&metric=coverage)](https://sonarcloud.io/dashboard?id=armorjs_build) [![Quality Gate Status](ht
Downloads
3,414
Readme
ArmorJS - Build
Helpers for commonly gulp build actions. Reduce code duplication and complexity in your gulpfiles across multiple projects.
Contents
About ArmorJS
ArmorJS solves unique challenges in the enterprise node ecosystem. Auditing projects for security, reliability, and even license compatibility are monumental tasks when a project includes thousands of frequently changing dependencies.
ArmorJS standards:
- Full typescript support.
- Consistent API between releases.
- Extremely small footprint (for webpacking).
- No more than 5 external dependencies (excluding dev dependencies).
- Compatible with web, node, and serverless deployment.
- Thorough test coverage.
- MIT License.
Install
With yarn (preferred):
yarn add @armorjs/build
With NPM:
npm install @armorjs/build
Usage
Library Usage
Typescript
import { ArmorBuild } from '@armorjs/build';
Node
const ArmorBuild = require('@armorjs/build');
Build
Build (or rebuild) the build package:
With Yarn (preferred):
yarn install
yarn build
With NPM:
npm install
npm run-script build
Testing
This package uses jest for unit testing. Run the following commands from the directory where @armorjs/build
has been installed.
With yarn (preferred):
yarn install
yarn test
With NPM:
npm install
npm run-script test
License
MIT © Michael Brich