Update README.md

This commit is contained in:
Guy Bedford
2013-11-12 17:32:51 +02:00
parent 28bc8f7f59
commit 4350e64834
+4
View File
@@ -46,6 +46,8 @@ To add a new endpoint server to the registry, provide a pull request to `endpoin
The registry also provides a service for overriding the `package.json` of existing repos. The registry also provides a service for overriding the `package.json` of existing repos.
This is useful for enabling JSPM functionality in the `package.json` when direct access to the underlying repo is not possible.
This is because JSPM uses the `package.json` for modular package configuration, including: This is because JSPM uses the `package.json` for modular package configuration, including:
* Setting the main entry point (`main`) * Setting the main entry point (`main`)
@@ -54,6 +56,8 @@ This is because JSPM uses the `package.json` for modular package configuration,
In this way, the right package options can make any library play well with JSPM, without needing any manual configuration at all. In this way, the right package options can make any library play well with JSPM, without needing any manual configuration at all.
Submitting a pull request to the original repo is still preferable to package overrides, this is a convenience service only and not a long term solution.
Read more about [configuring packages for JSPM](https://github.com/jspm/registry/wiki/Configuring-Packages-for-JSPM) in the wiki. Read more about [configuring packages for JSPM](https://github.com/jspm/registry/wiki/Configuring-Packages-for-JSPM) in the wiki.
To submit a new package override: To submit a new package override: