From 7ac9093128efeaff5da2535bf8ac47e6bb97f98b Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Fri, 20 Sep 2024 12:21:08 +0200 Subject: [PATCH] try copy --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a6621de..07d6ab1 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ ], "scripts": { "build": "rm -rf dist/* && yarn build:esm && yarn build:cjs", - "build:esm": "tsc -p tsconfig.esm.json", - "build:cjs": "tsc -p tsconfig.cjs.json", + "build:esm": "tsc -p tsconfig.esm.json && cp package.json dist/esm", + "build:cjs": "tsc -p tsconfig.cjs.json && cp package.json dist/cjs", "test": "jest", "fmt": "prettier --write \"./**/*.ts\"", "lint": "eslint ./src"