From f32ddf8aba02754460373f9dc7dc7b365ca6bab1 Mon Sep 17 00:00:00 2001 From: Samuel Wall Date: Tue, 7 Feb 2023 10:23:30 +0000 Subject: [PATCH] build: fix dist creation --- lib/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/package.json b/lib/package.json index 2aea250..7e0ce53 100644 --- a/lib/package.json +++ b/lib/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "rimraf lib && tsc --declarationDir lib --declaration true --outDir temp && rimraf temp && rollup -c", "test": "node --experimental-vm-modules ../node_modules/jest/bin/jest.js --coverage --config=./jest.config.js", - "dist": "mkdir dist && mkdir dist/lib && cp -r lib dist/ && cp package.json dist && cp ../readme.md dist && cp ../license dist && cp index.d.ts dist" + "dist": "rimraf dist && mkdir dist && mkdir dist/lib && cp -r lib dist/ && cp package.json dist && cp ../readme.md dist && cp ../license dist && cp index.d.ts dist" }, "repository": { "type": "git",