move ava's node arguments into NODE_OPTIONS until ts-node is fixed

This commit is contained in:
Bjorn Stromberg 2023-06-04 10:25:12 +08:00
parent 5c9fb20918
commit 814f10830b

View file

@ -20,7 +20,7 @@
},
"scripts": {
"build": "del dist && tsc",
"test": "tsc --noEmit && xo && ava",
"test": "tsc --noEmit && xo && NODE_OPTIONS='--loader=ts-node/esm --no-warnings=ExperimentalWarning' ava",
"prepare": "npm run build"
},
"files": [
@ -69,9 +69,6 @@
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
}
}
}