Add npm publishing of JS libs (#702)
* feat: publish js libs to npm * changed license type * updated readme * added id * added exclusion for web and deno packages * update comment * updating env var
This commit is contained in:
@@ -8,8 +8,12 @@
|
||||
"./packages/transport-web-bluetooth",
|
||||
"./packages/transport-web-serial"
|
||||
],
|
||||
"tasks": {
|
||||
"build:npm": "deno run -A scripts/build_npm_package.ts"
|
||||
},
|
||||
"imports": {
|
||||
"@bufbuild/protobuf": "npm:@bufbuild/protobuf@^2.2.3",
|
||||
"@deno/dnt": "jsr:@deno/dnt@^0.42.1",
|
||||
"@meshtastic/protobufs": "jsr:@meshtastic/protobufs@^2.7.0",
|
||||
"@types/node": "npm:@types/node@^22.13.10",
|
||||
"ste-simple-events": "npm:ste-simple-events@^3.0.11",
|
||||
@@ -33,5 +37,14 @@
|
||||
},
|
||||
"unstable": [
|
||||
"sloppy-imports"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist",
|
||||
"npm",
|
||||
"build",
|
||||
"coverage",
|
||||
"out",
|
||||
".vscode-test"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user