47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "flatbuffers",
|
|
"version": "24.3.25",
|
|
"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": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/google/flatbuffers/issues"
|
|
},
|
|
"homepage": "https://google.github.io/flatbuffers/",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.11.1",
|
|
"@types/node": "^22.7.4",
|
|
"esbuild": "^0.24.0",
|
|
"eslint": "^9.11.1",
|
|
"globals": "^15.10.0",
|
|
"typescript": "5.6.2",
|
|
"typescript-eslint": "^8.8.0"
|
|
}
|
|
}
|