Check in template from dart-lang/oss_project_templates/dart-github-dart-lang.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5d53a96
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+.packages
+.pub/
+build/
+pubspec.lock
diff --git a/.test_config b/.test_config
new file mode 100644
index 0000000..352d2fe
--- /dev/null
+++ b/.test_config
@@ -0,0 +1,3 @@
+{ 
+  "test_package": true
+}
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9124e03
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,33 @@
+language: dart
+
+# By default, builds are run in containers.
+# https://docs.travis-ci.com/user/getting-started/#Selecting-infrastructure-(optional)
+# Set `sudo: true` to disable containers if you need to use sudo in your scripts.
+# sudo: true
+
+dart:
+- dev
+- stable
+
+# See https://docs.travis-ci.com/user/languages/dart/ for details.
+dart_task:
+- test: --platform vm
+# Uncomment this line to run tests on the browser.
+# - test: --platform firefox
+
+# Only run one instance of the formatter and the analyzer, rather than running
+# them against each Dart version.
+matrix:
+  include:
+  - dart: stable
+    dart_task: dartfmt
+  - dart: dev
+    dart_task: dartanalyzer
+
+# Only building master means that we don't run two builds for each pull request.
+branches:
+  only: [master]
+
+cache:
+  directories:
+  - $HOME/.pub-cache
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e8063a8
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,6 @@
+# Below is a list of people and organizations that have contributed
+# to the project. Names should be added to the list like so:
+#
+#   Name/Organization <email address>
+
+Google Inc.
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..5b26ad3
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+## 1.0.0
+
+* Initial version.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..615b92f
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,53 @@
+Want to contribute? Great! First, read this page (including the small print at
+the end).
+
+### Before you contribute
+
+Before we can use your code, you must sign the
+[Google Individual Contributor License Agreement][CLA] (CLA), which you can do
+online. The CLA is necessary mainly because you own the copyright to your
+changes, even after your contribution becomes part of our codebase, so we need
+your permission to use and distribute your code. We also need to be sure of
+various other things—for instance that you'll tell us if you know that your code
+infringes on other people's patents. You don't have to sign the CLA until after
+you've submitted your code for review and a member has approved it, but you must
+do it before we can put your code into our codebase.
+
+Before you start working on a larger contribution, you should get in touch with
+us first through the issue tracker with your idea so that we can help out and
+possibly guide you. Coordinating up front makes it much easier to avoid
+frustration later on.
+
+[CLA]: https://cla.developers.google.com/about/google-individual
+
+### Code reviews
+
+All submissions, including submissions by project members, require review. We
+recommend [forking the repository][fork], making changes in your fork, and
+[sending us a pull request][pr] so we can review the changes and merge them into
+this repository.
+
+[fork]: https://help.github.com/articles/about-forks/
+[pr]: https://help.github.com/articles/creating-a-pull-request/
+
+Functional changes will require tests to be added or changed. The tests live in
+the `test/` directory, and are run with `pub run test`. If you need to create
+new tests, use the existing tests as a guideline for what they should look like.
+
+Before you send your pull request, make sure all the tests pass!
+
+### File headers
+
+All files in the project must start with the following header.
+
+    // Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file
+    // for details. All rights reserved. Use of this source code is governed by a
+    // BSD-style license that can be found in the LICENSE file.
+
+### The small print
+
+Contributions made by corporations are covered by a different agreement than the
+one above, the
+[Software Grant and Corporate Contributor License Agreement][CCLA].
+
+[CCLA]: https://developers.google.com/open-source/cla/corporate
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..389ce98
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,26 @@
+Copyright 2017, the Dart project authors. All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+    * Neither the name of Google Inc. nor the names of its
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..289911b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+# sample
+
+A library for Dart developers. It is awesome.
+
+## Features and bugs
+
+Please file feature requests and bugs at the [issue tracker][tracker].
+
+[tracker]: https://github.com/dart-lang/sample/issues
diff --git a/analysis_options.yaml b/analysis_options.yaml
new file mode 100644
index 0000000..a10d4c5
--- /dev/null
+++ b/analysis_options.yaml
@@ -0,0 +1,2 @@
+analyzer:
+  strong-mode: true
diff --git a/lib/sample.dart b/lib/sample.dart
new file mode 100644
index 0000000..5b64738
--- /dev/null
+++ b/lib/sample.dart
@@ -0,0 +1,5 @@
+// Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+main() => print('foo');
diff --git a/pubspec.yaml b/pubspec.yaml
new file mode 100644
index 0000000..67c7c8e
--- /dev/null
+++ b/pubspec.yaml
@@ -0,0 +1,15 @@
+name: sample
+version: 1.0.0-dev
+description: A sample library.
+author: Dart Team <misc@dartlang.org>
+homepage: https://github.com/dart-lang/sample
+
+environment:
+  sdk: '>=1.24.0 <2.0.0'
+
+dependencies:
+  # lib_name: "^1.2.0"
+
+dev_dependencies:
+  # Narrow this constraint if you use more advanced test features.
+  test: "^0.12.0"
diff --git a/test/all_test.dart b/test/all_test.dart
new file mode 100644
index 0000000..88561f1
--- /dev/null
+++ b/test/all_test.dart
@@ -0,0 +1,12 @@
+// Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import 'package:sample/sample.dart';
+import 'package:test/test.dart';
+
+main() {
+  group('A group of tests', () {
+    test('First Test', () {});
+  });
+}
diff --git a/todo.txt b/todo.txt
new file mode 100644
index 0000000..8a638e5
--- /dev/null
+++ b/todo.txt
@@ -0,0 +1,9 @@
+- rename project in pubspec.yaml
+- update description in pubspec.yaml
+- update the homepage: field in pubspec.yaml
+
+- rename project in readme.md
+- update description in readme.md
+- update the [tracker] url in readme.md
+
+- delete todo.txt :)