Set minimum node version to 10.22; specify v12 for nvm (#100)

- Using older versions of node can result in this error:

    TypeError: buf.writeBigUInt64BE is not a function

- nvm can automatically use the version specified in .nvmrc. Use node
  version 12 because it is currently recommended for most users
This commit is contained in:
Elliot Lee
2020-08-21 13:21:33 -07:00
parent 440e9922d7
commit e2cc829313
2 changed files with 5 additions and 1 deletions

View File

@@ -1 +1 @@
10.16
12

View File

@@ -49,5 +49,9 @@
"readmeFilename": "README.md",
"prettier": {
"semi": true
},
"engines": {
"node": ">=10.22",
"yarn": "^1.22.4"
}
}