UNPKG

@rushstack/heft-node-rig

Version:

A rig package for Node.js projects that build using Heft

72 lines (63 loc) 2.49 kB
/** * Configures the TypeScript plugin for Heft. This plugin also manages linting. */ { "$schema": "https://developer.microsoft.com/json-schemas/heft/v0/typescript.schema.json", /** * Optionally specifies another JSON config file that this file extends from. This provides a way for standard * settings to be shared across multiple projects. */ // "extends": "base-project/config/typescript.json", /** * If provided, emit these module kinds in addition to the modules specified in the tsconfig. * Note that this option only applies to the main tsconfig.json configuration. */ "additionalModuleKindsToEmit": [ // { // /** // * (Required) Must be one of "commonjs", "amd", "umd", "system", "es2015", "esnext" // */ // "moduleKind": "amd", // // /** // * (Required) The name of the folder where the output will be written. // */ // "outFolderName": "lib-amd" // } ], /** * If true, emit CommonJS module output to the folder specified in the tsconfig "outDir" compiler option with the .cjs extension alongside (or instead of, if TSConfig specifies CommonJS) the default compilation output. */ // "emitCjsExtensionForCommonJS": true, /** * If true, emit ESNext module output to the folder specified in the tsconfig "outDir" compiler option with the .mjs extension alongside (or instead of, if TSConfig specifies ESNext) the default compilation output. */ // "emitMjsExtensionForESModule": true, /** * If true and "isolatedModules" is configured in tsconfig.json, use a worker thread to run transpilation concurrently with type checking and declaration emit. */ // "useTranspilerWorker": true /** * Configures additional file types that should be copied into the TypeScript compiler's emit folders, for example * so that these files can be resolved by import statements. */ "staticAssetsToCopy": { /** * File extensions that should be copied from the src folder to the destination folder(s). */ "fileExtensions": [".json"] /** * Glob patterns that should be explicitly included. */ // "includeGlobs": [ // "some/path/*.js" // ], /** * Glob patterns that should be explicitly excluded. This takes precedence over globs listed * in "includeGlobs" and files that match the file extensions provided in "fileExtensions". */ // "excludeGlobs": [ // "some/path/*.css" // ] } }