setup releasing in CI

This commit is contained in:
itsMapleLeaf
2022-07-22 17:10:14 -05:00
committed by Darius
parent 1e527993e5
commit c93815b9f9
5 changed files with 38 additions and 9 deletions

View File

@@ -35,7 +35,7 @@
}
},
"scripts": {
"build": "tsup library/main.ts --target node16 --format cjs,esm --dts --sourcemap",
"build": "cp ../../README.md . && cp ../../LICENSE . && tsup library/main.ts --target node16 --format cjs,esm --dts --sourcemap",
"build-watch": "pnpm build -- --watch",
"test": "vitest --coverage --no-watch",
"test-dev": "vitest",

View File

@@ -1,4 +0,0 @@
pnpm run build
cp ../../README.md .
cp ../../LICENSE .
pnpm release-it