Skip to content

Commit 3757a06

Browse files
committed
bandaid fix to get demo script to run
TypeStrong/ts-node#1997 (comment)
1 parent ea25ef8 commit 3757a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"prepublish": "npm run build",
1818
"build": "rollup --config && bash ./fixup.sh",
1919
"test": "ts-mocha -n loader=ts-node/esm -p tsconfig.json src/**/*.spec.ts",
20-
"demo": "ts-node --esm --project tsconfig.json src/demo.ts",
20+
"demo": "node --no-warnings=ExperimentalWarning --loader ts-node/esm src/demo.ts",
2121
"docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts && cp -rfv assets docs"
2222
},
2323
"keywords": [

0 commit comments

Comments
 (0)