From c1f6422e46650cb8ee0cb8d2560c05d8c2e299cf Mon Sep 17 00:00:00 2001 From: chouchouji <70570907+chouchouji@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:38:35 +0800 Subject: [PATCH] chore: correct main field and add eslint path (#15) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f5f8786..9179a3e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "url": "git+https://github.com/varletjs/release" }, "bugs": "https://github.com/varletjs/release/issues", - "main": "./dist/index.js", + "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -35,7 +35,7 @@ "dev": "tsup --watch", "build": "tsup", "release": "pnpm build && node bin/index.js release -c", - "lint": "eslint --ext .ts,.js", + "lint": "eslint . --ext .ts,.js", "format": "prettier --write .", "commit-lint": "node bin/index.js commit-lint" },