diff --git a/sandbox/template.package.json b/sandbox/template.package.json index db35de53..9ffeee71 100644 --- a/sandbox/template.package.json +++ b/sandbox/template.package.json @@ -1,5 +1,5 @@ { - "licence": "MIT", + "license": "MIT", "author": { "name": "Mr. Should be Overridden" } diff --git a/src/main/kotlin/dsl/PackageJson.kt b/src/main/kotlin/dsl/PackageJson.kt index 9d005485..6bb0a655 100644 --- a/src/main/kotlin/dsl/PackageJson.kt +++ b/src/main/kotlin/dsl/PackageJson.kt @@ -123,9 +123,9 @@ class PackageJson() : JsonObject() { fun bugs(config: Bugs.() -> Unit = {}) = Bugs(bugs, config).also { bugs = it } /** - * [licence](https://docs.npmjs.com/files/package.json#license) + * [license](https://docs.npmjs.com/files/package.json#license) */ - var licence: String? by this + var license: String? by this /** * [author](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)