icflorescu / aspax

The simple Node.js asset packager.
aspax.github.io
MIT License
17 stars 0 forks source link

Fix invalid package.json #8

Closed jonahoffline closed 10 years ago

jonahoffline commented 10 years ago

This fixes #6 which prevented README.md from being rendered in npmjs.org and instead displayed ERROR: No README data found!

The main issue was the repository line which should be defined like this:

{
  "repository": {
    "type": "git",
    "url": "git://github.com/icflorescu/aspax.git"
  }
}

For a better insight into the added changes or to fix the other repos, take a look at the package.json. There's also this validator-npm and web that can help you validate your package.json files

If you run into problems trying to publish to npm you could try running npm publish --force as a last resort. Let me know if you need any assistance.

Finally, I also went ahead and added a version badge to the README :ghost:

icflorescu commented 10 years ago

There was nothing wrong with package.json. Apparently there's an issue affecting other people as well, and there's also a quick-and-dirty workaround here.