@@ -22,6 +22,8 @@ description: >
22
22
Have you been turned into a newt? Would you like to be? This
23
23
package can help: it has all of the newt-transmogrification
24
24
functionality you've been looking for.
25
+ author: Nathan Weizenbaum
< [email protected] >
26
+ homepage: http://newtify.dartlang.org
25
27
dependencies:
26
28
efts: '>=2.0.4 <3.0.0'
27
29
transmogrify: '>=0.4.0'
@@ -36,6 +38,10 @@ At the top level are a series of fields. The currently supported ones are:
36
38
<dd >Required for packages that will be hosted on pub.dartlang.org.</dd >
37
39
<dt >Description</dt >
38
40
<dd >Required for packages that will be hosted on pub.dartlang.org.</dd >
41
+ <dt >Author/Authors</dt >
42
+ <dd >Optional.</dd >
43
+ <dt >Homepage</dt >
44
+ <dd >Optional.</dd >
39
45
<dt >Dependencies</dt >
40
46
<dd >Can be omitted if your package has no dependencies.</dd >
41
47
</dl >
@@ -91,6 +97,30 @@ Think of the description as the sales pitch for your package. Users will see it
91
97
when they browse [ pub.dartlang.org] [ pubsite ] . It should be simple plain text:
92
98
no markdown or HTML. That's what your README is for.
93
99
100
+ ## Author/Authors
101
+
102
+ You're encouraged to use these fields to describe the author(s) of your package
103
+ and provide contact information. ` author ` should be used if your package has a
104
+ single author, while ` authors ` should be used with a YAML list if more than one
105
+ person wrote the package. Each author can either be a single name (e.g. `Nathan
106
+ Weizenbaum` ) or a name and an email address (e.g. ` Nathan Weizenbaum
107
+ < [email protected] > `). For example:
108
+
109
+ {% highlight yaml %}
110
+ authors:
111
+ - Nathan Weizenbaum
< [email protected] >
112
+
113
+ {% endhighlight %}
114
+
115
+ The authors of a [ hosted package] ( #hosted-packages ) will be displayed on
116
+ [ pub.dartlang.org] [ pubsite ] .
117
+
118
+ ## Homepage
119
+
120
+ This is optional. It should be a URL pointing to the website for your package.
121
+ For [ hosted packages] ( #hosted-packages ) , this URL will be linked from the
122
+ package's page on [ pub.dartlang.org] [ pubsite ] .
123
+
94
124
## Dependencies
95
125
96
126
Finally, the pubspec's * raison d'être* : dependencies. Here, you list each
0 commit comments