2018-03-02 19:49:47 +00:00
|
|
|
builders:
|
2018-03-02 21:23:00 +00:00
|
|
|
angel_serialize:
|
|
|
|
target: "angel_serialize_generator"
|
2018-03-02 19:49:47 +00:00
|
|
|
import: "package:angel_serialize_generator/angel_serialize_generator.dart"
|
|
|
|
builder_factories:
|
2018-03-02 21:23:00 +00:00
|
|
|
- jsonModelBuilder
|
|
|
|
- serializerBuilder
|
|
|
|
auto_apply: root_package
|
|
|
|
build_to: source
|
2018-03-02 19:49:47 +00:00
|
|
|
build_extensions:
|
|
|
|
.dart:
|
|
|
|
- ".g.dart"
|
2018-03-02 21:23:00 +00:00
|
|
|
- ".serializer.g.dart"
|
|
|
|
required_inputs:
|
|
|
|
- .dart
|
|
|
|
defaults:
|
|
|
|
generate_for:
|
|
|
|
- "lib/src/models/**.dart"
|
|
|
|
- "test/**.dart"
|
2018-03-29 16:14:22 +00:00
|
|
|
typescript_definition:
|
|
|
|
target: "angel_serialize_generator"
|
|
|
|
import: "package:angel_serialize_generator/angel_serialize_generator.dart"
|
|
|
|
builder_factories:
|
|
|
|
- typescriptDefinitionBuilder
|
|
|
|
auto_apply: root_package
|
|
|
|
build_to: source
|
|
|
|
build_extensions:
|
|
|
|
.dart:
|
|
|
|
- ".d.ts"
|
|
|
|
required_inputs:
|
|
|
|
- .dart
|
|
|
|
defaults:
|
|
|
|
generate_for:
|
|
|
|
- "lib/src/models/**.dart"
|
|
|
|
- "test/**.dart"
|
2018-03-02 21:23:00 +00:00
|
|
|
targets:
|
|
|
|
_book:
|
|
|
|
sources:
|
|
|
|
- "test/models/book.dart"
|
|
|
|
$default:
|
|
|
|
dependencies:
|
|
|
|
- ":_book"
|
|
|
|
sources:
|
|
|
|
- "test/models/author.dart"
|