2018-03-02 19:49:47 +00:00
|
|
|
builders:
|
2018-03-02 21:23:00 +00:00
|
|
|
angel_serialize:
|
2018-12-09 22:55:52 +00:00
|
|
|
# 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
|
2018-12-08 20:53:49 +00:00
|
|
|
build_to: cache
|
2018-03-02 19:49:47 +00:00
|
|
|
build_extensions:
|
|
|
|
.dart:
|
2018-08-21 21:19:48 +00:00
|
|
|
- "angel_serialize.g.part"
|
2018-12-08 20:53:49 +00:00
|
|
|
- "angel_serialize_serializer.g.part"
|
2018-08-21 21:24:53 +00:00
|
|
|
applies_builders: ["source_gen|combining_builder", "source_gen|part_cleanup"]
|
2018-12-08 20:53:49 +00:00
|
|
|
runs_before: ["angel_orm_generator|angel_orm"]
|
2018-12-09 22:55:52 +00:00
|
|
|
typescript:
|
|
|
|
# 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"
|
2018-03-02 21:23:00 +00:00
|
|
|
targets:
|
|
|
|
_book:
|
|
|
|
sources:
|
|
|
|
- "test/models/book.dart"
|
2019-01-07 01:38:04 +00:00
|
|
|
- "test/models/has_map.dart"
|
2018-12-31 01:18:44 +00:00
|
|
|
- "test/models/goat.dart"
|
2018-07-11 15:45:45 +00:00
|
|
|
- "test/models/game_pad_button.dart"
|
2018-06-27 05:36:57 +00:00
|
|
|
- "test/models/with_enum.dart"
|
2018-03-29 19:58:36 +00:00
|
|
|
_typescript_definition:
|
|
|
|
sources:
|
2018-07-11 15:45:45 +00:00
|
|
|
- "test/*.dart"
|
2018-03-02 21:23:00 +00:00
|
|
|
$default:
|
|
|
|
dependencies:
|
|
|
|
- ":_book"
|
|
|
|
sources:
|
2018-11-03 07:13:19 +00:00
|
|
|
- "bin/**"
|
|
|
|
- "lib/**"
|
|
|
|
- "web/**"
|
2018-03-02 21:23:00 +00:00
|
|
|
- "test/models/author.dart"
|
2018-07-11 15:45:45 +00:00
|
|
|
- "test/models/game_pad.dart"
|