diff --git a/meta.json b/meta.json index 9f22df7b8..d3c029a87 100644 --- a/meta.json +++ b/meta.json @@ -15,6 +15,11 @@ "type": "string", "label": "Author" }, + "license": { + "type": "string", + "label": "License", + "default": "MIT" + }, "sass": { "type": "confirm", "message": "Use sass?", diff --git a/template/package.json b/template/package.json index cc7215432..17bbca363 100644 --- a/template/package.json +++ b/template/package.json @@ -3,6 +3,7 @@ "description": "{{ description }}", "version": "1.0.0", "author": "{{ author }}", + "license": "{{ license }}", "private": true, "scripts": { "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",