Skip to content

Commit

Permalink
chore: node start script
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz committed Dec 10, 2024
1 parent 7491f73 commit 6be662a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions napi/canvas-napi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 6be662a

Please sign in to comment.