Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate main array #6

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ Used for search by keyword. Helps make your package easier to discover without p

---

#### main [string|array of strings]
#### main [string]

The primary acting files necessary to use your package. While Bower does not directly use these files, they are listed with the commands `bower list --json` and `bower list --paths`, so they can be used by build tools.

* Coffeescript should be compiled.
* Do not include minified files.
* Files names should not be versioned (Bad: package.1.1.0.js; Good: package.js).

* An array is also supported but is considered deprecated. Packages should not use the array format, however build tools should still support it. There must only be one path per file extension in the array.

---

Expand Down