@web/test-runner
Version:
Test runner for web applications
106 lines (105 loc) • 4.06 kB
JSON
{
"name": "@web/test-runner",
"version": "0.18.2",
"publishConfig": {
"access": "public"
},
"description": "Test runner for web applications",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/modernweb-dev/web.git",
"directory": "packages/test-runner"
},
"author": "modern-web",
"homepage": "https://github.com/modernweb-dev/web/tree/master/packages/test-runner",
"main": "dist/index.js",
"bin": {
"web-test-runner": "./dist/bin.js",
"wtr": "./dist/bin.js"
},
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"test": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\"",
"test:babel-coverage": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --config demo/babel-coverage.config.mjs",
"test:bare": "node dist/bin.js",
"test:coverage": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --coverage",
"test:coverage-babel": "node dist/bin.js --config demo/coverage-babel/config.mjs",
"test:custom-html": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --config demo/customhtml.config.mjs",
"test:filter-logs": "node dist/bin.js --config demo/filter-logs.config.mjs",
"test:focus": "node dist/bin.js --config demo/focus/config.mjs",
"test:groups": "node dist/bin.js --config demo/groups.config.mjs",
"test:groups-pattern": "node dist/bin.js --groups \"demo/test/groups/**/*.config.mjs\"",
"test:groups-shared-browser": "node dist/bin.js --config demo/groups-shared-browser.config.mjs",
"test:legacy": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --config demo/legacy.config.mjs",
"test:logging": "node dist/bin.js \"demo/test/logging.test.js\"",
"test:many": "node dist/bin.js \"demo/test/many/**/*.test.js\"",
"test:mixed": "node dist/bin.js \"demo/test/*.test.js\"",
"test:mocha-options": "node dist/bin.js --config \"demo/test/mocha-options/config.js\"",
"test:playwright": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --playwright --browsers chromium firefox webkit",
"test:puppeteer-firefox": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --puppeteer --browsers firefox",
"test:saucelabs": "node dist/bin.js --config demo/saucelabs.config.mjs",
"test:selenium": "node dist/bin.js --config demo/selenium.config.mjs",
"test:snapshots": "node dist/bin.js \"demo/test/pass-snapshot.test.js\" --coverage",
"test:source-maps": "node dist/bin.js --config demo/source-maps/config.mjs",
"test:tsc": "tsc -p demo/tsc/tsconfig.json && concurrently -k -r \"tsc -p demo/tsc/tsconfig.json --watch --preserveWatchOutput\" \"wtr --config demo/tsc/config.mjs --watch\"",
"test:virtual": "node dist/bin.js --config demo/virtual/config.mjs",
"test:watch": "node dist/bin.js \"demo/test/pass-*.test.{js,html}\" --watch"
},
"files": [
"*.d.ts",
"*.js",
"*.mjs",
"dist",
"src"
],
"keywords": [
"web",
"test",
"runner",
"testrunner",
"default",
"implementation",
"cli"
],
"dependencies": {
"@web/browser-logs": "^0.4.0",
"@web/config-loader": "^0.3.0",
"@web/dev-server": "^0.4.0",
"@web/test-runner-chrome": "^0.16.0",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-core": "^0.13.0",
"@web/test-runner-mocha": "^0.9.0",
"camelcase": "^6.2.0",
"command-line-args": "^5.1.1",
"command-line-usage": "^7.0.1",
"convert-source-map": "^2.0.0",
"diff": "^5.0.0",
"globby": "^11.0.1",
"nanocolors": "^0.2.1",
"portfinder": "^1.0.32",
"source-map": "^0.7.3"
},
"devDependencies": {
"@types/diff": "^5.0.0",
"@web/dev-server-legacy": "^2.1.0",
"@web/test-runner-saucelabs": "^0.11.0",
"babel-plugin-istanbul": "^6.0.0",
"concurrently": "^8.0.1"
}
}