jozefizso / generator-license

Yeoman Generator - License
MIT License
59 stars 20 forks source link

Fill in package.json license field #8

Closed SBoudrias closed 9 years ago

SBoudrias commented 9 years ago

It'd be nice to have this generator fill the license field in package.json.

From npm documentation:

The simplest way, assuming you're using a common license such as BSD-3-Clause or MIT, is to just specify the standard SPDX ID of the license you're using

Here are the ID https://spdx.org/licenses/

sindresorhus commented 9 years ago

You can get the license IDs from https://github.com/sindresorhus/spdx-license-list to validate.

jozefizso commented 9 years ago

Implemented in https://github.com/jozefizso/generator-license/pull/7