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 # Browser Test Stats
<!-- GEN:test-stats --> <!-- GEN:test-stats -->
|Firefox|Chromium|WebKit|all| |Firefox|Chromium|WebKit|all|
|---|---|---|---| |---|---|---|---|
|511/650|698/705|325/653|309/650| |511/649|698/705|325/652|309/649|
<!-- GEN:stop --> <!-- GEN:stop -->
# Contributing # Contributing

View file

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

View file

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

View file

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