Skip to content

The latest version of npm pkg. RNTL include usless files (4mb) #1452

Closed
@retyui

Description

@retyui

Describe the bug

I think files section in package.json isn't working properly, npm pkg. inclide (website, experiments-app, ...) folders that have to be omited

"files": [
"build/",
"jest-preset/",
"typings/index.flow.js",
"pure.js",
"dont-cleanup-after-each.js",
"!**/test-utils"
],

See:

Expected behavior

no test/docs/config files in npm pkg.

Steps to Reproduce

npm pack --dry-run

Screenshots

image

Versions

  • @testing-library/react-native@12.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions