null_safety: add build_test requirements
diff --git a/build.yaml b/build.yaml
new file mode 100644
index 0000000..caaa99c
--- /dev/null
+++ b/build.yaml
@@ -0,0 +1,10 @@
+# See https://github.com/dart-lang/build/tree/master/build_web_compilers#configuration
+# Matches previous configuration in pubspec.yaml - transformers - $dart2js
+targets:
+ $default:
+ builders:
+ build_web_compilers|entrypoint:
+ # These are globs for the entrypoints you want to compile.
+ generate_for:
+ include:
+ - test/**.dart
diff --git a/pubspec.yaml b/pubspec.yaml
index 6a4b6b0..d2f5bcb 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -12,3 +12,7 @@
path: ^1.0.0
pedantic: ^1.0.0
test: ^1.6.0
+
+ build_runner: ^1.0.0
+ build_test: ^0.10.0
+ build_web_compilers: '>=1.2.0 <3.0.0'