packages/doorman/config/heft.json
{
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json",
"phasesByName": {
"build": {
"cleanFiles": [{ "sourcePath": "dist" }],
"tasksByName": {
"extract-apk-assets-and-generate-templates": {
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "run-script-plugin",
"options": {
"scriptPath": "assets/extract-and-generate.cjs"
}
}
},
"typescript": {
"taskDependencies": ["extract-apk-assets-and-generate-templates"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft-typescript-plugin"
}
},
"lint": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft-lint-plugin"
}
},
"copy-templates": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "copy-files-plugin",
"options": {
"copyOperations": [
{
"destinationFolders": ["dist"],
"includeGlobs": [
"templates/png/**/*.*",
"templates/raw/**/*.*",
"templates/metadata/**/*.*"
]
}
]
}
}
}
}
},
"test": {
"phaseDependencies": ["build"],
"tasksByName": {
"jest": {
"taskPlugin": {
"pluginPackage": "@rushstack/heft-jest-plugin"
}
}
}
}
}
}