playwright/packages/common/.npmignore

44 lines
1.1 KiB
Plaintext

# NOTE: theoretically, we can remove this file, because we always create
# a directory for each package and only copy necessary files there.
# However, we keep it to double check the list of files.
#
# This ignores everything by default, except for package.json and LICENSE and README.md.
# See https://docs.npmjs.com/misc/developers
**/*
# Include sources from lib, but not map files.
!lib/**/*.js
# Include web assets for recorder, trace viewer, etc.
!lib/**/*.html
!lib/**/*.png
!lib/**/*.ttf
# Exclude injected files. A preprocessed version of these is included via lib/generated.
# See src/server/injected/README.md.
lib/**/injected/
# Include all binaries that we ship with the package.
!bin/*
# Include FFMPEG
!third_party/ffmpeg/*
# Include generated types and entrypoint.
!types/*
!index.d.ts
!reporter.d.ts
# Include main entrypoint.
!index.js
!reporter.js
# Include main entrypoint for ES Modules.
!index.mjs
!reporter.mjs
# Include installer.
!install.js
# Include essentials.
!README.md
!LICENSE
!NOTICE
# Include browser descriptors.
!browsers.json
# Include commit info
!commitinfo
# Include generated devices descriptors
!deviceDescriptorsSource.json