mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 07:27:27 +00:00
[TS/JS] Add rollup and config to generate iife flatbuffers bundle (#7449)
* Add rollup and config to generate iife flatbuffers bundle * Atempt to use yarn and add deps Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "npm run compile && cd tests && python3 ./TypeScriptTest.py",
|
||||
"compile": "tsc && tsc -p tsconfig.mjs.json",
|
||||
"compile": "tsc && tsc -p tsconfig.mjs.json && rollup -c",
|
||||
"prepublishOnly": "npm install --only=dev && npm run compile"
|
||||
},
|
||||
"repository": {
|
||||
@@ -40,6 +40,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^4.12.0",
|
||||
"@typescript-eslint/parser": "^4.12.0",
|
||||
"eslint": "^7.17.0",
|
||||
"rollup": "^2.78.0",
|
||||
"typescript": "^4.5.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user