From 7a10f08c046f37e3ccbcd87898995b4c84b89639 Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 15 May 2024 00:43:34 +0900 Subject: [PATCH] fix publish configurations in package.json --- .eslintignore | 1 - package.json | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 48a4a70..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/*.d.ts diff --git a/package.json b/package.json index 3ec641f..ae78533 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "watch": "tsc -w -p .", "format": "prettier -w '*.ts'", "mocha": "mocha --color test.js", - "test": "concurrently -m 1 -c auto npm:build npm:mocha" + "test": "concurrently -m 1 -c auto npm:build npm:mocha", + "prepare": "concurrently -m 1 -c auto npm:lint npm:build npm:test" }, "repository": { "type": "git", @@ -36,7 +37,7 @@ ], "types": "index.d.ts", "files": [ - "types/index.d.ts", + "index.d.ts", "index.js" ], "author": "rhysd ",