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

https://github.com/lygstate/typescript-template


https://github.com/lygstate/typescript-template

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Install

```bash
curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install -y nodejs
```

```bat
npm i -G yarn
```

# New solution

```bat
yarn init
yarn add -D typescript ts-node ts-jest @types/node @types/jest
yarn run tsc --init
```

# New module

How to Create a Hybrid NPM Module for ESM and CommonJS is referenced
to

# Install eslint support package

```bat
yarn add -W -D eslint-config-airbnb eslint
yarn add -W -D eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks
yarn add -W -D eslint-config-airbnb-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

# Publish package

```bat
cd packages/deferred
npm publish --access public
```