iansinnott / jstz

🌐Timezone detection for JavaScript
Other
175 stars 33 forks source link

License not recognized by npm #24

Open bvancea opened 5 years ago

bvancea commented 5 years ago

When accessing https://www.npmjs.com/package/jstz , the license shows up as none, even though the LICENSE file mentions MIT.

I had a look at the package.json file, and it seems that the license is specified using the licenses field. This field was deprecated in favor of the license field. See the npm documentation for license.

Updating package.json to use license should solve the issue.