Skip to content

Commit f794bd4

Browse files
committed
tsnode
1 parent 8d3ce47 commit f794bd4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"description": "",
55
"main": "dist/index.js",
66
"scripts": {
7-
"dev": "ts-node --transpile-only index.ts",
7+
"dev": "node --loader ts-node/esm index.ts",
88
"build": "tsc",
99
"start": "node dist/index.js",
1010
"test": "echo \"No tests specified\" && exit 0"
1111
},
12+
"type": "module",
1213
"keywords": [],
1314
"author": "",
1415
"license": "ISC",

0 commit comments

Comments
 (0)