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" } }