[JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095)

This commit is contained in:
Björn Harrtell
2020-09-17 21:21:14 +02:00
committed by GitHub
parent b8e87fafe4
commit 94873e595c
21 changed files with 2093 additions and 1404 deletions

View File

@@ -17,6 +17,7 @@
pushd "$(dirname $0)" >/dev/null
npm install @types/flatbuffers
npm run pretest
export FB_TS_TEST="TRUE"

View File

@@ -5,4 +5,6 @@ RUN cp flatc_debian_stretch flatc
WORKDIR /code/tests
RUN node --version
RUN ../flatc -b -I include_test monster_test.fbs unicode_test.json
RUN npm install
RUN npm run pretest
RUN node JavaScriptTest ./monster_test_generated

View File

@@ -5,4 +5,6 @@ RUN cp flatc_debian_stretch flatc
WORKDIR /code/tests
RUN node --version
RUN ../flatc -b -I include_test monster_test.fbs unicode_test.json
RUN npm install
RUN npm run pretest
RUN node JavaScriptTest ./monster_test_generated