@langri-sha/projen-license
v0.3.3
Published
A [projen] component for generating license files using [`license-o-matic`].
Downloads
2
Readme
@langri-sha/projen-license
A projen component for generating license files using [license-o-matic
].
Usage
Install dependencies:
npm install -D projen @langri-sha/projen-license
Then, create an License
component for your projects:
import { Project } from 'projen'
import { License } from '@langri-sha/license'
const project = new Project({
name: 'my-project',
})
new License(project, {
filename: 'license',
spdx: 'MIT',
copyrightHolder: 'John Smith <[email protected]>',
copyrightYear: '2000',
})