Skip to content

Commit cffa230

Browse files
committed
NPM package: exclude src folder and temp files in worker folder
1 parent 0ca2ce3 commit cffa230

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
/.vscode
1414

1515
# Cache.
16+
.mypy_cache
1617
/.cache
1718
/.mypy_cache
1819
/worker/__pycache__
19-
/worker/.mypy_cache
20+
/worker/build
2021
/worker/mediasoup_client_aiortc.egg-info

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
},
1919
"main": "lib/index.js",
2020
"types": "lib/index.d.ts",
21+
"files": [
22+
"npm-scripts.mjs",
23+
"lib",
24+
"worker/*.py",
25+
"worker/*.cfg"
26+
],
2127
"os": [
2228
"!win32"
2329
],

0 commit comments

Comments
 (0)