🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@raincatcher/example-base

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raincatcher/example-base

NPM package template for the RainCatcher project

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

RainCatcher BaseModule

This is a template for modules in the RainCatcher project, it contains the default dotfiles and other configuration files for the development tooling and the directory structure spected from individual modules.

RainCatcher code is written in TypeScript, uses Mocha for unit tests and Istanbul for test coverage checks.

For an explanation of the expected internals of see the main README

Using this template

When creating a new module, copy the entire contents of this folder and make the following adjustments to package.json :

  • name: Update to new package's name
  • version: Set it to your new intended semver (i.e. 0.0.0 or 1.0.0)
  • description: Remove the description that contains
  • author: Update to reflect possible new author
  • dependencies: Remove the sample dependency on @raincatcher/example-base

Removing unit tests

In order to remove all of the existing unit test sample setup, make the following alterations:

  • Remove the contents of the test/ folder.
  • Remove the test-related devDependencies: mocha, source-map-support and nyc
  • Remove the test, debug and debug-legacy scripts.
  • Remove the "nyc" extra configuration key from package.json

FAQs

Package last updated on 05 Jun 2017

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