New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@bmat/translation-management

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bmat/translation-management

Manage Front-End translations from multiple sources

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

Vericast Front-End translation management

This package handles all front-end translations sources, at the moment Preact, Angular and i18next, merging them in a single XLIFF 1.2 file.

Once the translations of the XLIFF 1.2 file is done, the package takes care of splitting the file between resources to minimize the size of the bundles.

Installation

This is a standard Node v8+ package. Just add @bmat/translation-management to package.json.

Testing

Run the command

npm run test

An Jest watch session will launch.

To run the tests once, like in a CI environment, run

npm run test:ci

Coverage data will be saved in the coverage folder.

Build

Run

npm run build

To compile the Typescript files to JavaScript. The destination folder is dist. This folder will be exported when publishing the package.

Keywords

Angular

FAQs

Package last updated on 07 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts