typescript-config-voys

1.0.6 • Public • Published

Typescript configuration

Installation in another project

  1. Install Package:
npm i -D typescript-config-voys
  1. Add to the tsconfig.json file of the consuming project:
{
  "extends": "typescript-config-voys",
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*", "./*"],
    }
  },
  // ...rest of your tsconfig
}

Development

  1. You can test this configuration in a consuming project by cloning this project and installing said local repository into the consuming project:
cd consuming-project
npm link ../typescript-config-voys
  1. Add to the tsconfig.json of the consuming project:
{
  "extends": "typescript-config-voys",
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*", "./*"],
    }
  },
  // ...rest of your tsconfig
}

Publish a new version

Make sure you are logged in, use the spindle user within KeyHub to authenticate:

npm login

Bump the version accordingly and publish it to the NPM registry, make sure to git push the new version as well:

npm version <major | minor | patch>
npm publish
git push

Install the new version within the consuming project:

npm i -D typescript-config-voys@latest

Readme

Keywords

none

Package Sidebar

Install

npm i typescript-config-voys

Weekly Downloads

608

Version

1.0.6

License

ISC

Unpacked Size

2.2 kB

Total Files

3

Last publish

Collaborators

  • spindle