Skip to content

Commit

Permalink
update README example commands to use NODE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Jul 17, 2022
1 parent 8a4a10a commit b8a147f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"type": "module",
"scripts": {
"test": "node --loader=esmock --test",
"test-tap": "tap --node-arg=\"--loader=esmock\"",
"test-uvu": "node --loader=esmock ./node_modules/uvu/bin.js ./spec/",
"test-ava": "ava --node-arguments=\"--loader=esmock\"",
"test-tap": "NODE_OPTIONS='--loader=esmock' tap",
"test-uvu": "NODE_OPTIONS='--loader=esmock' uvu ./spec/",
"test-ava": "NODE_OPTIONS='--loader=esmock' ava",
"test-mocha": "mocha --loader=esmock"
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"test-node": "node --no-warnings --loader=esmock --test ./spec/node/",
"test-node18": "if (node -v | grep v18); then npm run test-node; fi;",
"test-ava": "npx ava --node-arguments=\"--loader=esmock\" ./spec/ava/*.spec.js",
"test-uvu": "node --no-warnings --loader=esmock ./node_modules/uvu/bin.js ./spec/uvu/",
"test-uvu": "NODE_OPTIONS='--loader=esmock' uvu ./spec/uvu/",
"test:default": "npm run test-node18 && npm run test-ava && npm run test-uvu",
"test:windows": "npm run test-ava && npm run test-uvu",
"test": "run-script-os",
Expand Down

0 comments on commit b8a147f

Please sign in to comment.