1.0.3 • Published 5 years ago

@whatasoda/tsconfig v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@whatasoda/tsconfig

Setup your .npmrc

If you did it before, you can skip it. 1. Create an access token with permmision read:packages.

See: [How to create a persional access token for the command line](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line)
  1. Apply token to your .npmrc. (replace PERSONAL-ACCESS-TOKEN with your access token)

    echo "//npm.pkg.github.com/:_authToken=PERSONAL-ACCESS-TOKEN" >> ~/.npmrc
  2. Set @whatasoda namespace to use GitHub registry.

    echo "@whatasoda:registry=https://npm.pkg.github.com/" >> ~/.npmrc

Install package

npm i -D @whatasoda/tsconfig

Usage

tsconfig.json

{
  "extends": "@whatasoda/tsconfig",
  "compilerOptions": {
    "rootDir": "./"
  }
}