fix: build include paths (#32)

This commit is contained in:
Pavel Feldman 2019-11-20 09:10:41 -08:00 committed by GitHub
parent 83ed65dce8
commit b4b7b6b96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# Browser Test Stats
<!-- GEN:test-stats -->
|Firefox|Chromium|WebKit|all|
|---|---|---|---|
|511/650|698/705|325/653|309/650|
<!-- GEN:test-stats -->
|Firefox|Chromium|WebKit|all|
|---|---|---|---|
|511/649|698/705|325/652|309/649|
<!-- GEN:stop -->
# Contributing

View File

@ -322,7 +322,6 @@
* [target.page()](#targetpage)
* [target.type()](#targettype)
* [target.url()](#targeturl)
* [target.worker()](#targetworker)
- [class: CDPSession](#class-cdpsession)
* [cdpSession.detach()](#cdpsessiondetach)
* [cdpSession.send(method[, params])](#cdpsessionsendmethod-params)
@ -3959,11 +3958,6 @@ Identifies what kind of target this is. Can be `"page"`, [`"background_page"`](h
#### target.url()
- returns: <[string]>
#### target.worker()
- returns: <[Promise]<?[Worker]>>
If the target is not of type `"service_worker"` or `"shared_worker"`, returns `null`.
### class: CDPSession
* extends: [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter)

View File

@ -24,7 +24,7 @@
"doc": "node utils/doclint/cli.js",
"coverage": "cross-env COVERAGE=true npm run unit",
"tsc": "tsc -p .",
"build": "npm run tsc",
"build": "tsc -p .",
"watch": "tsc -w -p .",
"apply-next-version": "node utils/apply_next_version.js",
"bundle": "npx browserify -r ./index.js:playwright -o utils/browser/playwright-web.js",

View File

@ -10,6 +10,6 @@
"outDir": "./lib"
},
"compileOnSave": true,
"include": ["src"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}