@flureejs/config-typescript
v0.1.6
Published
Common `TypeScript` configuration for `FlureeJS` libraries.
Downloads
15
Readme
@flureejs/config-typescript
Common TypeScript
configuration for FlureeJS
libraries.
Tool: TypeScript
Exposed CLI commands:
flureejs-config-ts-compile
flureejs-config-ts-build
Usage
Add tsconfig.json
:
{
"extends": "@flureejs/config-typescript/tsconfig.json",
"include": ["src/**/*.ts", "test/**/*.ts"]
}
Add tsconfig.prod.json
:
{
"extends": "@flureejs/config-typescript/tsconfig.prod.json",
"include": ["src/**/*.ts"]
}
Use CLI commands above in your package.json
:
"scripts": {
"tsc": "flureejs-config-ts-compile",
"build": "flureejs-config-ts-build"
}