Skip to content

Commit dc509ab

Browse files
authored
Fix license not published (#19)
* Fix typo * Fix typo in template
1 parent f0d78af commit dc509ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sandbox/template.package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"licence": "MIT",
2+
"license": "MIT",
33
"author": {
44
"name": "Mr. Should be Overridden"
55
}

src/main/kotlin/dsl/PackageJson.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ class PackageJson() : JsonObject<Any>() {
123123
fun bugs(config: Bugs.() -> Unit = {}) = Bugs(bugs, config).also { bugs = it }
124124

125125
/**
126-
* [licence](https://docs.npmjs.com/files/package.json#license)
126+
* [license](https://docs.npmjs.com/files/package.json#license)
127127
*/
128-
var licence: String? by this
128+
var license: String? by this
129129

130130
/**
131131
* [author](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)

0 commit comments

Comments
 (0)