Rename the package template to the normal package file and install the required dev deps for testing purposes
This commit is contained in:
parent
ed715b14e4
commit
18f58a6221
4 changed files with 728 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue