From e814e707b19ca96737218f5d014737ca7cd939d0 Mon Sep 17 00:00:00 2001 From: JounQin Date: Mon, 13 Jan 2025 22:23:38 +0800 Subject: [PATCH] chore: change release folders --- package-lock.json | 6 +++--- package.json | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ee8d28e..d9be165 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "eslint-config-prettier", - "version": "9.1.0", + "version": "10.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "eslint-config-prettier", - "version": "9.1.0", + "version": "10.0.0", "license": "MIT", "bin": { - "eslint-config-prettier": "bin/cli.js" + "eslint-config-prettier": "build/bin/cli.js" }, "devDependencies": { "@babel/eslint-parser": "7.23.3", diff --git a/package.json b/package.json index ed7ef8e..bcd52a8 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,11 @@ "author": "Simon Lydell", "description": "Turns off all rules that are unnecessary or might conflict with Prettier.", "repository": "prettier/eslint-config-prettier", - "bin": "bin/cli.js", + "bin": "build/bin/cli.js", + "main": "build/index.js", + "files": [ + "build" + ], "keywords": [ "eslint", "eslintconfig", @@ -60,8 +64,5 @@ "prettier": "3.1.0", "typescript": "5.3.2", "vue-eslint-parser": "9.3.2" - }, - "publishConfig": { - "directory": "build" } }