UNPKG

@kcws/heft-web-rig

Version:
61 lines (59 loc) 1.62 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", "phasesByName": { "build": { "cleanFiles": [ { "includeGlobs": ["lib", "lib-bundle", "dist"] } ], "tasksByName": { "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" } }, "esbuild": { "taskDependencies": ["typescript"], "taskPlugin": { "pluginPackage": "@kcinternals/heft-esbuild-plugin", "options": { "output": "lib-bundle", "bundle": true, "minify": true, "sourcemap": true, "platform": "browser", "target": ["chrome58", "edge16", "firefox57", "safari11"] } } }, "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" } } } } } }