mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
* Start using pnpm
* Add @npm
* get more stuff set up
* Get the analysis phase passing.
* Get esbuild working?
* Get it compiling?
$ bazel build //tests/ts/...
* Try to get the test working
* test is passing
* Get the other tests working
* clarify comment
* clean up a bit
* Try to add another test
* Add another test
* clean up more
* remove unused reference
* Add e2e test
* Get more of the test working
* add lock file
* Get test working on its own
* Get e2e test passing
* fix infinite recursion
* Add comments
* clean up some more
* clean up more again
* Source typescript version from package.json
* run buildifier
* lint
* Fix unset `extra_env`
* Incorporate feedback
* run buildifier
---------
Co-authored-by: Derek Bailey <derekbailey@google.com>
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "flatbuffers",
|
|
"version": "23.3.3",
|
|
"description": "Memory Efficient Serialization Library",
|
|
"files": [
|
|
"js/**/*.js",
|
|
"js/**/*.d.ts",
|
|
"mjs/**/*.js",
|
|
"mjs/**/*.d.ts",
|
|
"ts/**/*.ts"
|
|
],
|
|
"main": "js/flatbuffers.js",
|
|
"module": "mjs/flatbuffers.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run compile && cd tests/ts && python3 ./TypeScriptTest.py",
|
|
"lint": "eslint ts",
|
|
"compile": "tsc && tsc -p tsconfig.mjs.json && esbuild js/flatbuffers.js --minify --global-name=flatbuffers --bundle --outfile=js/flatbuffers.min.js",
|
|
"prepublishOnly": "npm install --only=dev && npm run compile"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/google/flatbuffers.git"
|
|
},
|
|
"keywords": [
|
|
"flatbuffers"
|
|
],
|
|
"author": "The FlatBuffers project",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"bugs": {
|
|
"url": "https://github.com/google/flatbuffers/issues"
|
|
},
|
|
"homepage": "https://google.github.io/flatbuffers/",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/node": "18.15.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
|
"@typescript-eslint/parser": "^5.57.0",
|
|
"esbuild": "^0.17.14",
|
|
"eslint": "^8.37.0",
|
|
"typescript": "5.0.4"
|
|
}
|
|
}
|