@cryptograph/typescript-tooling

This package helps to keep all of the Typescript configuration and tooling synced up between seperate CryptoGraph projects.

Usage no npm install needed!

<script type="module">
  import cryptographTypescriptTooling from 'https://cdn.skypack.dev/@cryptograph/typescript-tooling';
</script>

README

Typescript Tooling

This package helps keep all Typescript configuration and tooling synced up between seperate CryptoGraph projects.

The postinstall script updates your package.json with all of the required devDependencies and ensures you have a tsconfig.json and a tslint.json which extend the ones from this package.

Here's what that looks like...

tsconfig.json

{
    "extends": "./node_modules/@cryptograph/typescript-tooling/tsconfig",

    // You can add more options and overwrites...
    "compilerOptions": {
        "outDir": "build"
    }
}

tslint.json

{
    "extends": "node_modules/@cryptograph/typescript-tooling/tslint.json",

    // You can add more options and overwrites...
    "rules": {
        "no-submodule-imports": [
            true,
            "graphql-voyager/middleware"
        ]
    }
}