Skip to content

Commit 7491f73

Browse files
committed
chore(node-demo): start script
1 parent a52ce29 commit 7491f73

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

napi/canvas-napi/examples/node/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
},
1010
"private": true,
1111
"dependencies": {
12-
"wgpu-matrix": "~3.3.0",
13-
"teapot": "~1.0.0"
12+
"teapot": "~1.0.0",
13+
"wgpu-matrix": "~3.3.0"
14+
},
15+
"devDependencies": {
16+
"tsx": "^4.19.2"
17+
},
18+
"scripts": {
19+
"start": "node --import ./node_modules/tsx/dist/loader.cjs ./main.mts"
1420
}
1521
}

0 commit comments

Comments
 (0)