mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: implement @puppeteer/doctest (#10933)
This commit is contained in:
11
package.json
11
package.json
@@ -23,6 +23,7 @@
|
||||
"lint": "run-s lint:prettier lint:eslint",
|
||||
"postinstall": "npm run postinstall --workspaces --if-present",
|
||||
"prepare": "npm run prepare --workspaces --if-present",
|
||||
"doctest": "wireit",
|
||||
"test-install": "npm run test --workspace @puppeteer-test/installation",
|
||||
"test-types": "tsd -t packages/puppeteer",
|
||||
"test:chrome:headful": "wireit",
|
||||
@@ -59,6 +60,13 @@
|
||||
"./packages/puppeteer-core:build:docs"
|
||||
]
|
||||
},
|
||||
"doctest": {
|
||||
"command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
|
||||
"dependencies": [
|
||||
"./packages/puppeteer-core:build",
|
||||
"./tools/doctest:build"
|
||||
]
|
||||
},
|
||||
"test:chrome:headful": {
|
||||
"command": "npm test -- --test-suite chrome-headful"
|
||||
},
|
||||
@@ -184,6 +192,7 @@
|
||||
"packages/*",
|
||||
"test",
|
||||
"test/installation",
|
||||
"tools/eslint"
|
||||
"tools/eslint",
|
||||
"tools/doctest"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user