UNPKG

@rushstack/heft-node-rig

Version:

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

64 lines (58 loc) 1.58 kB
/** * Defines configuration used by core Heft. */ { "$schema": "https://developer.microsoft.com/json-schemas/heft/v0/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": "base-project/config/heft.json", "aliasesByName": { "start": { "actionName": "build-watch", "defaultParameters": ["--serve"] } }, "phasesByName": { "build": { "cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs"] }], "tasksByName": { "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" } }, "lint": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@rushstack/heft-lint-plugin" } }, "api-extractor": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@rushstack/heft-api-extractor-plugin" } }, "node-service": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@rushstack/heft", "pluginName": "node-service-plugin" } } } }, "test": { "phaseDependencies": ["build"], "tasksByName": { "jest": { "taskPlugin": { "pluginPackage": "@rushstack/heft-jest-plugin" } } } } } }