npm.io
1.0.5 • Published 8 years ago

@cryptograph/typescript-tooling

Licence
MIT
Version
1.0.5
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
1
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

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"
		]
	}
}