npm / www

community space for the npm website
https://npm.community
69 stars 48 forks source link

ISC license displaying on npm, but have MIT license in repo #396

Closed melanieseltzer closed 6 years ago

melanieseltzer commented 6 years ago

I'm not sure why this is happening as I definitely have MIT in my repo. Also installed the package as a dependency for testing, and the license is there and it's MIT.

Link to the page

https://www.npmjs.com/package/grammarize https://github.com/melanieseltzer/grammarize/blob/master/LICENSE

Logged in or logged out?

Both.

Expected behavior

Display 'MIT' under license heading on my package page.

Actual behavior

'ISC' shows instead.

Steps to reproduce the problem

Look at package page under license heading.

Browser with version

N/A

Any error message?

N/A

jefflembeck commented 6 years ago

@melanieseltzer we read your license type from the package.json file, https://github.com/melanieseltzer/grammarize/blob/master/package.json#L31

See: https://docs.npmjs.com/files/package.json#license for options (you'll likely want: 'MIT' as the value there)

melanieseltzer commented 6 years ago

Whoops! Thanks for the clarification 😄