@kcws/web-rig
Version:
a rig package for web environment projects using heft
63 lines (59 loc) • 1.61 kB
JSON
/**
* 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": {
"sass-typings": {
"taskPlugin": {
"pluginPackage": "@rushstack/heft-sass-plugin"
}
},
"typescript": {
"taskDependencies": ["sass-typings"],
"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"
}
}
}
}
}
}