mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 14:38:50 +00:00
feat: Setup build scripts
This commit is contained in:
1 parent
8874adc877
commit
a4b7f0d341
1 file changed
+3
-1
+3
-1
@@ -12,7 +12,9 @@
|
|||||||
"lib/MySQL.d.ts"
|
"lib/MySQL.d.ts"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "esbuild --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
"build": "yarn build:root && yarn build:ui",
|
||||||
|
"build:ui": "cd ./ui/ && yarn build",
|
||||||
|
"build:root": "esbuild --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
||||||
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
||||||
"lib": "tsc --project lib/tsconfig.lib.json",
|
"lib": "tsc --project lib/tsconfig.lib.json",
|
||||||
"postinstall": "patch-package",
|
"postinstall": "patch-package",
|
||||||
|
|||||||
Reference in new issue
Block a user