- common files to a new 'wmc-common' package in common/ - skycraft now puts all serving files into static/
16 lines
458 B
JSON
16 lines
458 B
JSON
{
|
|
"name": "skycraft",
|
|
"version": "1.0.0",
|
|
"main": "index.ts",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"esbuild": "^0.14.2",
|
|
"wmc-common": "link:../common"
|
|
},
|
|
"scripts": {
|
|
"watch": "esbuild --outfile=static/app.js index.ts --bundle --sourcemap=inline --watch",
|
|
"serve": "esbuild --outfile=static/app.js index.ts --bundle --sourcemap=inline --servedir=static",
|
|
"build": "esbuild --outfile=app.js index.ts --bundle --minify"
|
|
}
|
|
}
|