npm update to 2.0.3 and script fix

Change-Id: Idacbc5973e9c1f713f5c8e03513a83590e336fdb
This commit is contained in:
Wouter van Oortmerssen 2021-06-03 13:40:35 -07:00
parent 4cb3f222b1
commit baaffbaedd
2 changed files with 2 additions and 6 deletions

4
.gitignore vendored
View File

@ -129,10 +129,6 @@ package-lock.json
/*.ilk
/*.pdb
.clwb
js/**/*.js
js/**/*.d.ts
mjs/**/*.js
mjs/**/*.d.ts
yarn-error.log
.cache/
/flatbuffers.lib

View File

@ -1,6 +1,6 @@
{
"name": "flatbuffers",
"version": "2.0.0",
"version": "2.0.3",
"description": "Memory Efficient Serialization Library",
"files": [
"js/*.js",
@ -18,7 +18,7 @@
"scripts": {
"test": "npm run compile && cd tests && ./TypeScriptTest.sh",
"compile": "tsc && tsc -p tsconfig.mjs.json",
"prepublishOnly": "npm run compile"
"prepublishOnly": "npm install --only=dev && npm run compile"
},
"repository": {
"type": "git",