playwright/.npmignore
Dmitry Gozman 0a9377e0a9 chore: prepare to npm publish (#148)
- setup .npmignore;
- index.js selecting a browser;
- minor package.json tweaks;
- example script which works against npm pack'ed module.
2019-12-05 11:29:16 -08:00

21 lines
473 B
Plaintext

# 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 except for injected, but not map files
!lib/**/*.js
# Injected files are included via lib/generated, see src/injected/README.md
lib/injected/
# root for "playwright" package
!index.js
# specific browsers
!chromium.js
!firefox.js
!webkit.js
# Dgozman says to remove these
!DeviceDescriptors.js
!Errors.js