Rename the package template to the normal package file and install the required dev deps for testing purposes

This commit is contained in:
Oliver Akins 2022-06-19 12:40:29 -06:00
parent ed715b14e4
commit 18f58a6221
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
4 changed files with 728 additions and 14 deletions

View file

@ -8,12 +8,12 @@ all: esm cjs
esm:
@mkdir $(ESM_LOCATION) --parents
tsc --module es6 --outDir $(ESM_LOCATION)
cp ./package.template.json $(ESM_LOCATION)/package.json
cp ./package.json $(ESM_LOCATION)/package.json
cjs:
@mkdir $(CJS_LOCATION) --parents
tsc --module commonjs --outDir $(CJS_LOCATION)
cp ./package.template.json $(CJS_LOCATION)/package.json
cp ./package.json $(CJS_LOCATION)/package.json
watch:
@echo To have Typescript auto-rebuild, run the following commands in new terminals