yipo / bugzilla-burn-up-chart

To plot a burn-up chart according to the date grabbed from a Bugzilla site.
1 stars 0 forks source link

Make the repository as a npm package by adding the `package.json` file #1

Open yipo opened 8 years ago

yipo commented 8 years ago

So that all the dependencies required by the application can be simply installed by npm install (as electron/electron-quick-start does for example).

Reference

yipo commented 8 years ago

Cheat Sheet

npm init [--yes|-y] to create a prototype of package.json.

Requirement

Information

For a project on GitHub (foo/bar, for example), it should be as follows.

{
  "homepage": "https://github.com/foo/bar",
  "bugs": {
    "url": "https://github.com/foo/bar/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/foo/bar.git"
  }
}

License

A person can be an object,

{
  "name": "Foo Bar",
  "email": "foo@bar.com",
  "url": "http://foo.bar.com/"
}

or simply a string in the following format.

"Foo Bar <foo@bar.com> (http://foo.bar.com/)"

Both email and URL are optional either way.

Programming