31 lines
724 B
YAML
31 lines
724 B
YAML
builders:
|
|
angel_serialize:
|
|
target: "angel_serialize_generator"
|
|
import: "package:angel_serialize_generator/angel_serialize_generator.dart"
|
|
builder_factories:
|
|
- jsonModelBuilder
|
|
- serializerBuilder
|
|
- typescriptDefinitionBuilder
|
|
auto_apply: root_package
|
|
build_to: source
|
|
build_extensions:
|
|
.dart:
|
|
- ".g.dart"
|
|
- ".serializer.g.dart"
|
|
- ".d.ts"
|
|
required_inputs:
|
|
- .dart
|
|
targets:
|
|
_book:
|
|
sources:
|
|
- "test/models/book.dart"
|
|
- "test/models/with_enum.dart"
|
|
_typescript_definition:
|
|
sources:
|
|
- "lib/*.dart"
|
|
$default:
|
|
dependencies:
|
|
- ":_book"
|
|
sources:
|
|
- "lib/*.dart"
|
|
- "test/models/author.dart"
|