add --no-experimental-fetch to support Node.js 18 LTS

This commit is contained in:
woodser 2023-08-12 17:08:38 -04:00
parent 6486100db7
commit 156be0b637

View File

@ -7,7 +7,7 @@
"files": ["dist/**/*"], "files": ["dist/**/*"],
"scripts": { "scripts": {
"prepare": "scripts/build_protobuf.sh", "prepare": "scripts/build_protobuf.sh",
"test": "jest", "test": "node --no-experimental-fetch ./node_modules/.bin/jest",
"eslint": "eslint .", "eslint": "eslint .",
"eslintfix": "eslint src/* --fix", "eslintfix": "eslint src/* --fix",
"typedoc": "typedoc ./src/index.ts --entryPointStrategy expand src/ --exclude **/*.test.ts --excludePrivate" "typedoc": "typedoc ./src/index.ts --entryPointStrategy expand src/ --exclude **/*.test.ts --excludePrivate"