From 6be662a2f494d84ebc7adea24d0965d398e10c35 Mon Sep 17 00:00:00 2001 From: Osei Fortune Date: Mon, 9 Dec 2024 20:54:11 -0400 Subject: [PATCH] chore: node start script --- napi/canvas-napi/package.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/napi/canvas-napi/package.json b/napi/canvas-napi/package.json index c07f662c..91603b4c 100644 --- a/napi/canvas-napi/package.json +++ b/napi/canvas-napi/package.json @@ -42,11 +42,7 @@ "test": "ava", "universal": "napi universal", "version": "napi version", - "start": "node --experimental-strip-types --disable-warning=ExperimentalWarning --experimental-transform-types canvas.ts", - "deno": "deno run -A deno.ts", - "cjs.build": "npx esbuild canvas.ts --bundle --platform=node --format=cjs --loader:.node=file --external:fs --outfile=dist/index.cjs", - "esm.build": "npx esbuild canvas.ts --bundle --platform=node --format=esm --loader:.node=file --external:fs --outfile=dist/index.mjs", - "esm.utils.build": "npx esbuild utils/index.ts --bundle --platform=node --format=esm --loader:.node=file --external:fs --outfile=dist/utils.mjs", - "esm.app.build": "npx esbuild examples/app.ts --bundle --platform=node --format=esm --loader:.node=file --external:fs --outfile=dist/examples/app.mjs" + "start-node": "cd examples/node && npm run start", + "start-deno": "deno run -A deno.ts" } }