mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
825555cddf
This generates typescript definitions based on the api.md, instead of autogenerating them from the typescript source code. Now types - only include the public api - work with older versions of typescript - include descriptions - are more consistent - are more complete #6
21 lines
479 B
Plaintext
21 lines
479 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/
|
|
#types
|
|
!types/*
|
|
!index.d.ts
|
|
|
|
# used for npm install scripts
|
|
!download-browser.js
|
|
|
|
# root for "playwright-core" package
|
|
!index.js
|
|
|
|
# root for "playwright-core/web"
|
|
!web.js
|