mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Include subdirectories in published npm package (#6850)
Updates the `files` globs in package.json to include subdirectories in order to also include the flexbuffers directory in the published npm package. Updates .gitignore to include the tsc-generated JS files.
This commit is contained in:
10
package.json
10
package.json
@@ -3,11 +3,11 @@
|
||||
"version": "2.0.3",
|
||||
"description": "Memory Efficient Serialization Library",
|
||||
"files": [
|
||||
"js/*.js",
|
||||
"js/*.d.ts",
|
||||
"mjs/*.js",
|
||||
"mjs/*.d.ts",
|
||||
"ts/*.ts"
|
||||
"js/**/*.js",
|
||||
"js/**/*.d.ts",
|
||||
"mjs/**/*.js",
|
||||
"mjs/**/*.d.ts",
|
||||
"ts/**/*.ts"
|
||||
],
|
||||
"main": "js/flatbuffers.js",
|
||||
"module": "mjs/flatbuffers.js",
|
||||
|
||||
Reference in New Issue
Block a user