UNPKG

@kcws/node-rig

Version:

a rig package for node environment projects using heft

57 lines (53 loc) 1.43 kB
/** * Defines configuration used by core Heft. */ { // "$schema": "https://developer.microsoft.com/json-schemas/heft/heft.schema.json", "$schema": "https://raw.githubusercontent.com/microsoft/rushstack/main/apps/heft/src/schemas/heft.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": "@rushstack/heft-web-rig/lib/app/config/heft.json", "phasesByName": { "build": { "cleanFiles": [ { "includeGlobs": [ "lib", "dist" ] } ], "tasksByName": { "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" } }, "eslint": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@rushstack/heft-lint-plugin" } }, "api-extractor": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@rushstack/heft-api-extractor-plugin" } } } }, "test": { "phaseDependencies": ["build"], "tasksByName": { "jest": { "taskPlugin": { "pluginPackage": "@rushstack/heft-jest-plugin" } } } } } }