Add build script
This commit is contained in:
parent
d755f9e72e
commit
3064dc4437
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
*.js
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "esbuild *.ts --bundle --outdir=js/",
|
||||||
"serve": "esbuild *.ts --bundle --servedir=. --outdir=js/"
|
"serve": "esbuild *.ts --bundle --servedir=. --outdir=js/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue