1.0.0 • Published 6 years ago
@kalafina/tsconfig v1.0.0
@kalafina/tsconfig
Setup your .npmrc
If you did it before, you can skip it.
Create an access token with permmision
read:packages.See: How to create a persional access token for the command line
Apply token to your
.npmrc. (replacePERSONAL-ACCESS-TOKENwith your access token)echo "//npm.pkg.github.com/:_authToken=PERSONAL-ACCESS-TOKEN" >> ~/.npmrcSet
@kalafinanamespace to use GitHub registry.echo "@kalafina:registry=https://npm.pkg.github.com/" >> ~/.npmrc
Install package
npm i -D @kalafina/tsconfigUsage
tsconfig.json
{
"extends": "@kalafina/tsconfig",
"compilerOptions": {
"rootDir": "./"
}
}1.0.0
6 years ago