open-index/open-npm huggingface dataset:
npm package: @lostintime/devcon-ts
Description: Development configs for TypeScript projects
Author: lostintime.dev@gmail.com
Latest version: 0.7.1

# DEVCON-TS

[![Travis](https://img.shields.io/travis/lostintime/devcon-ts.svg)](https://travis-ci.org/lostintime/devcon-ts)

Opinionated development configs for TypeScript projects.

Package brings `devDependencies` required for [prettier](https://prettier.io/) and [conventional commits](https://www.conventionalcommits.org/) support.

## Installation

Install the package and link config files.

```
npm install --save-dev @lostintime/devcon-ts
```

### Conventional Commits

Dependencies brought by `@lostintime/devcon-ts`.

```
ln -s ./node_modules/@lostintime/devcon-ts/.huskyrc
ln -s ./node_modules/@lostintime/devcon-ts/.czrc
ln -s ./node_modules/@lostintime/devcon-ts/.lintstagedrc
ln -s ./node_modules/@lostintime/devcon-ts/.commitlintrc.json
```

### Prettier

```
ln -s ./node_modules/@lostintime/devcon-ts/.editorconfig
ln -s ./node_modules/@lostintime/devcon-ts/.prettierrc
```

### TypeScript

Extend `@lostintime/devcon-ts` in your `tsconfig.json`, ex:

```json
{
  "extends": "@lostintime/devcon-ts",
  "compilerOptions": {
    "rootDir": "./src",
    "outDir": "./dist",
    "declarationDir": "./dist",
    "composite": true
  },
  "include": ["src"]
}
```

### Testing

... with mocha, chai and nyc.

```
npm install --save-dev mocha chai @types/mocha @types/chai nyc
```

Link configs

```
ln -s ./node_modules/@lostintime/devcon-ts/.mocharc.json
ln -s ./node_modules/@lostintime/devcon-ts/.nycrc
```

### Updates

`mocha.opts` is not deprecated in favor of `.mocharc.json`
npm package: @lostintime/main-ts
Description: Bind node process signals to cancel application task
Author: lostintime.dev@gmail.com
Latest version: 0.1.3

Main-TS
=======

[![Travis](https://img.shields.io/travis/lostintime/main-ts.svg)](https://travis-ci.org/lostintime/main-ts)
[![Coverage Status](https://codecov.io/gh/lostintime/main-ts/coverage.svg?branch=master)](https://codecov.io/gh/lostintime/main-ts?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/lostintime/main-ts.svg)](https://greenkeeper.io/)

A function which cancels given task on specified node [process](https://nodejs.org/dist/latest-v8.x/docs/api/process.html#process_signal_events) signals.

```typescript
import main from "@lostintime/main-ts"
import { IO } from "funfix-effect"

main(["SIGUSR1"])(IO.unit().delayResult(50000)).run()
```

## Contribute

> Perfection is Achieved Not When There Is Nothing More to Add, 
> But When There Is Nothing Left to Take Away

Fork, Contribute, Push, Create pull request, Thanks.