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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup package.json #200

Merged
merged 1 commit into from Jan 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions package.json
Expand Up @@ -2,11 +2,13 @@
"name": "radar",
"description": "Realtime apps with a high level API based on engine.io",
"version": "0.18.0",
"author": "Mikito Takada <mikito.takada@gmail.com>",
"author": "Zendesk, Inc.",
"license": "apache-2.0",
"engines": {
"node": "0.10 - 4"
"node": "0.10 - 5"
},
"contributors": [
"Mikito Takada <mikito.takada@gmail.com>",
{
"name": "Sam Shull",
"url": "http://github.com/samshull"
Expand All @@ -18,11 +20,16 @@
{
"name": "Nicolas Herment",
"url": "https://github.com/nherment"
}
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this removed, is primary entry point different?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jden for answering offline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no problem! for documentation's sake:

"main" in package.json sets the default package entry point, e.g. when other packages require('radar'). The default is index.js, so this change removes the redundant explicit declaration.

"jden <jason@denizac.org>"
],
"main": "index.js",
"keywords": [
"realtime",
"real-time",
"pubsub",
"pub-sub",
"socketio",
"server",
"socket.io",
"engine.io",
"comet",
Expand Down