From 99a0a2874add4ef69161901a6665d11e61e69cc8 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 22 Jul 2026 09:18:30 +0900 Subject: [PATCH] chore: add scripts-info --- package.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c3ed2b..a1b55f4 100644 --- a/package.json +++ b/package.json @@ -27,13 +27,24 @@ "build": "tsdown", "dev": "tsdown --watch", "lint": "eslint", - "prepublishOnly": "nr build", + "prepack": "nr build", "release": "bumpp", "start": "tsx src/index.ts", "test": "pnpm run build && vitest", "typecheck": "tsc", "prepare": "git config core.hooksPath .githooks && simple-git-hooks && skills-npm" }, + "scripts-info": { + "build": "Build the library for publishing", + "dev": "Rebuild on change during development", + "lint": "Check for code style issues", + "prepack": "Build before publishing", + "release": "Bump version and publish a release", + "start": "Run the entry file", + "test": "Run the test suite", + "typecheck": "Check types", + "prepare": "Set up git hooks and skills" + }, "devDependencies": { "@antfu/eslint-config": "catalog:cli", "@antfu/ni": "catalog:cli",