chore: ignore __tests__ in prod builds (#8307)

The tests are being bundled and shipped in prod, this adds a bit of unneeded weight to npm installs. Now they won't be included.

```
@react-navigation/core
- before: 274 files - pkg: 211.0 kB - unpkg: 1 MB
- after: 238 files - pkg: 192.1 kB - unpkg: 827.3 kB
```
This commit is contained in:
Evan Bacon
2020-05-21 02:15:12 -07:00
committed by GitHub
parent 4c4d864af2
commit b14094619f
9 changed files with 18 additions and 9 deletions

View File

@@ -24,7 +24,8 @@
"types": "lib/typescript/src/index.d.ts",
"files": [
"src",
"lib"
"lib",
"!**/__tests__"
],
"sideEffects": false,
"publishConfig": {