From ddda0b509a715f26e8d0d7e73a5b58922ee6bfb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E6=AC=A3?= <1136843910@qq.com> Date: Fri, 29 Jul 2022 16:46:50 +0800 Subject: [PATCH] fix(types): rename `licence` to `license` (#17) --- src/types/packagejson.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/packagejson.ts b/src/types/packagejson.ts index 37ae912..cd18cd1 100644 --- a/src/types/packagejson.ts +++ b/src/types/packagejson.ts @@ -50,7 +50,7 @@ export interface PackageJson { /** * You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you’re placing on it. */ - licence?: string + license?: string /** * Specify the place where your code lives. This is helpful for people who want to contribute. If the git repo is on GitHub, then the `npm docs` command will be able to find you. * For GitHub, GitHub gist, Bitbucket, or GitLab repositories you can use the same shortcut syntax you use for npm install: