From 8b9698fa6c129ef1d8e889775e5192fdc56364bc Mon Sep 17 00:00:00 2001 From: robertlincecum Date: Thu, 6 Jun 2024 10:59:54 -0500 Subject: [PATCH] copy lib/esm package.json in build script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d256d69a..04eea2a7 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "_dist-stats": "gzip -k9f -S '.gz' ./dist/quais.min.js && gzip -k9f -S '.gz' ./dist/quais.umd.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js", "auto-build": "npm run build -- -w", "lint": "eslint src/**/*.ts --fix", - "build": "tsc --project tsconfig.esm.json", + "build": "tsc --project tsconfig.esm.json && cp ./misc/basedirs/lib.esm/package.json ./lib/esm", "build-all": "npm run build && npm run build-commonjs", "build-clean": "npm run clean && npm run build && npm run build-all && npm run _build-dist && npm run _dist-stats", "build-commonjs": "tsc --project tsconfig.commonjs.json",