From a9ac39e8fbd2e7362e13807b39c75d2885860b3b Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Sun, 26 May 2024 00:44:47 +0800 Subject: [PATCH] setting --- .eslintignore | 2 ++ .npmrc | 5 +++++ package.json | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.eslintignore b/.eslintignore index 2792329..e4d1ced 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,3 @@ !.web-ext/ +dist +node_modules diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cc01a0f --- /dev/null +++ b/.npmrc @@ -0,0 +1,5 @@ +git-tag-version=true +message=release: %s +sign-git-commit=true +sign-git-tag=true +enable-pre-post-scripts=true diff --git a/package.json b/package.json index be84484..173b298 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "scripts": { "build": "web-ext build", "dev": "web-ext run --devtools=true", - "lint:es": "eslint .", + "lint": "pnpm run \"/^lint:.*/\"", + "lint:es": "eslint src", "lint:ext": "web-ext lint", "sign": "web-ext sign " },