summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2018-10-25 13:47:08 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2018-10-25 13:48:41 -0700
commitb78c4332be45a488390bdb966e02831f3ebba90a (patch)
treebad35544bcab1c7d0083745d1d3a0c95e52df9ae /package.json
parent636b516492594462be9cd3d0224dbdc27a2a423b (diff)
downloadflatbuffers-b78c4332be45a488390bdb966e02831f3ebba90a.tar.gz
flatbuffers-b78c4332be45a488390bdb966e02831f3ebba90a.tar.bz2
flatbuffers-b78c4332be45a488390bdb966e02831f3ebba90a.zip
Fixed npm publish appending multiple copies into .mjs
Change-Id: Id8c373b0f77d9a0f4922257339abb4e01e06c2d4
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index a9d9b718..0e4b0f85 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "flatbuffers",
- "version": "1.10.0",
+ "version": "1.10.2",
"description": "Memory Efficient Serialization Library",
"files": ["js/flatbuffers.js", "js/flatbuffers.mjs"],
"main": "js/flatbuffers",
@@ -11,7 +11,7 @@
},
"scripts": {
"test": "tests/JavaScriptTest.sh",
- "append-esm-export": "sed \"s/this.flatbuffers = flatbuffers;/export { flatbuffers };/\" js/flatbuffers.js >> js/flatbuffers.mjs",
+ "append-esm-export": "sed \"s/this.flatbuffers = flatbuffers;/export { flatbuffers };/\" js/flatbuffers.js > js/flatbuffers.mjs",
"prepublishOnly": "npm run append-esm-export"
},
"repository": {