UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

273 lines (272 loc) 11 kB
{ "name": "html-reporter", "version": "10.18.7", "description": "Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.", "files": [ "build" ], "exports": { "./testplane": "./build/testplane.js", "./hermione": "./build/hermione.js", "./playwright": "./build/playwright.js", "./jest": "./build/jest.js" }, "scripts": { "build": "rimraf build && npm run build:client && npm run build:server && npm run build-bundle -- --minify", "build:client": "cross-env NODE_ENV=production webpack build --config=webpack.prod.js --progress && npm run copy-static", "build:client:dev": "cross-env NODE_ENV=development webpack build --config=webpack.dev.js --progress && npm run copy-static", "build:server": "npx tsc", "build-bundle": "esbuild ./lib/bundle/index.ts --outdir=./build/lib/bundle --bundle --format=cjs --platform=node --target=ES2021", "copy-static": "copyfiles 'lib/static/icons/*' .npmignore build", "coverage": "nyc npm run test-unit", "browsers:build:local": "PLATFORM=$([ $(node -e 'console.log(process.arch)') = 'arm64' ] && echo linux/arm64 || echo linux/amd64) npm run browsers:build:single-platform", "browsers:build:single-platform": "docker build -f test/func/docker/Dockerfile --platform $PLATFORM -t yinfra/html-reporter-browsers test/func/docker --load", "browsers:build-and-push": "docker buildx build -t yinfra/html-reporter-browsers --platform linux/amd64,linux/arm64 test/func/docker --push", "browsers:launch": "docker run -it --rm --network=host $(which colima >/dev/null || echo --add-host=host.docker.internal:0.0.0.0) yinfra/html-reporter-browsers", "e2e:build-packages": "npm run --workspace=test/func/packages --if-present build", "e2e:generate-fixtures": "npm run --workspace=test/func/fixtures generate", "e2e:test": "npm run --workspace=test/func/tests test", "e2e": "npm run e2e:build-packages && npm run e2e:generate-fixtures ; npm run e2e:test", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "test": "npm run lint && npm run test-unit && npm run test-check-types", "test-check-types": "tsc --project test/unit/lib/static/tsconfig.json && tsc --project test/tsconfig.json", "test-unit:jsdom": "cross-env NODE_ENV=test mocha test/unit/lib/static --config .mocharc-jsdom.js", "test-unit:node": "cross-env NODE_ENV=test mocha test/unit --exclude 'test/unit/lib/static/**'", "test-unit": "npm run test-unit:node && npm run test-unit:jsdom", "precommit": "npm run lint", "prepublishOnly": "npm run build", "start": "NODE_ENV=development webpack serve --config=webpack.dev.js --progress", "commitmsg": "conventional-changelog-lint -e", "release": "standard-version", "watch": "concurrently -c 'auto' -n 'server,client' 'npm:watch:server' 'npm:watch:client' 'npm:watch:bundle'", "watch:client": "npm run copy-static && NODE_ENV=development webpack watch --config=webpack.dev.js --progress", "watch:server": "npx tsc --watch", "watch:bundle": "npm run build-bundle -- --watch" }, "workspaces": [ "test/func/fixtures/*", "test/func/packages/*", "test/func/tests" ], "repository": { "type": "git", "url": "git+https://github.com/gemini-testing/html-reporter.git" }, "bugs": { "url": "https://github.com/gemini-testing/html-reporter/issues" }, "engines": { "node": ">= 18" }, "keywords": [ "testplane", "hermione", "plugin", "html-reporter", "jest", "report" ], "bin": { "html-reporter": "./bin/html-reporter" }, "homepage": "https://github.com/gemini-testing/html-reporter#readme", "license": "MIT", "peerDependencies": { "hermione": ">=8.0.0", "jest": "*", "playwright": "*", "testplane": "*" }, "peerDependenciesMeta": { "hermione": { "optional": true }, "testplane": { "optional": true }, "playwright": { "optional": true }, "jest": { "optional": true } }, "dependencies": { "@babel/runtime": "^7.22.5", "@gemini-testing/commander": "^2.15.3", "@gemini-testing/sql.js": "^2.0.0", "ansi-html-community": "^0.0.8", "axios": "1.6.3", "better-sqlite3": "^10.0.0", "bluebird": "^3.5.3", "body-parser": "^1.18.2", "chalk": "^4.1.2", "debug": "^4.1.1", "escape-html": "^1.0.3", "eventemitter2": "6.4.7", "express": "^4.16.2", "fast-glob": "^3.2.12", "filesize": "^8.0.6", "fs-extra": "^7.0.1", "gemini-configparser": "^1.4.2", "http-codes": "1.0.0", "image-size": "^1.0.2", "inquirer": "^8.2.0", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.4", "looks-same": "9.0.1", "nested-error-stacks": "^2.1.0", "npm-which": "^3.0.1", "opener": "^1.4.3", "ora": "^5.4.1", "p-queue": "^5.0.0", "qs": "^6.9.1", "signal-exit": "^4.1.0", "strip-ansi": "^6.0.1", "tmp": "^0.1.0", "url-join": "^4.0.1", "worker-farm": "^1.7.0", "yazl": "^3.3.1" }, "devDependencies": { "@babel/core": "^7.24.7", "@babel/plugin-transform-modules-commonjs": "^7.24.7", "@babel/plugin-transform-runtime": "^7.22.5", "@babel/preset-env": "^7.22.5", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@gravity-ui/components": "^4.1.1", "@gravity-ui/navigation": "^3.3.4", "@gravity-ui/uikit": "^7.8.0", "@jest/reporters": "^29.7.0", "@playwright/test": "^1.44.1", "@react-hook/resize-observer": "^2.0.1", "@rrweb/replay": "^2.0.0-alpha.18", "@swc/core": "^1.3.64", "@tanstack/react-virtual": "^3.8.3", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/babel__core": "^7.20.5", "@types/better-sqlite3": "^7.6.4", "@types/bluebird": "^3.5.3", "@types/chai": "^4.3.5", "@types/chai-as-promised": "^7.1.1", "@types/chai-subset": "^1.3.5", "@types/debug": "^4.1.8", "@types/escape-html": "^1.0.4", "@types/express": "4.16", "@types/fs-extra": "^7.0.0", "@types/http-codes": "^1.0.4", "@types/jest": "^29.5.14", "@types/json-stringify-safe": "^5.0.2", "@types/lodash": "^4.14.195", "@types/nested-error-stacks": "^2.1.0", "@types/npm-which": "^3.0.3", "@types/opener": "^1.4.0", "@types/proxyquire": "^1.3.28", "@types/react-dom": "^18.3.0", "@types/react-virtualized": "^9.21.30", "@types/react-window": "^1.8.8", "@types/redux-mock-store": "^1.0.6", "@types/sinon": "^4.3.3", "@types/strftime": "^0.9.8", "@types/tmp": "^0.1.0", "@types/urijs": "^1.19.19", "@types/yazl": "^2.4.6", "@typescript-eslint/eslint-plugin": "^5.60.0", "@typescript-eslint/parser": "^5.60.0", "app-module-path": "^2.2.0", "babel-loader": "^9.1.3", "buffer": "^6.0.3", "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "chai-deep-equal-ignore-undefined": "^1.1.1", "chai-dom": "^1.12.0", "chai-subset": "^1.6.0", "classnames": "^2.2.5", "concurrently": "^7.6.0", "conventional-changelog-lint": "^1.0.1", "copyfiles": "^2.4.1", "cross-env": "^5.2.0", "crypto-browserify": "^3.12.0", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^5.0.1", "esbuild": "^0.23.0", "eslint": "^8.43.0", "eslint-config-gemini-testing": "^2.8.0", "eslint-plugin-react": "^7.32.2", "events": "^3.3.0", "fflate": "^0.8.2", "fork-ts-checker-webpack-plugin": "^9.0.0", "fuse.js": "^7.1.0", "hermione-global-hook": "^1.0.1", "hermione-test-repeater": "^0.0.8", "html-react-parser": "^5.1.12", "html-reporter-basic-plugin": "file:test/func/packages/basic", "html-reporter-menu-bar-plugin": "file:test/func/packages/menu-bar", "html-reporter-redux-plugin": "file:test/func/packages/redux", "html-reporter-redux-with-server-plugin": "file:test/func/packages/redux-with-server", "html-reporter-test-server": "file:test/func/packages/html-reporter-test-server", "html-reporter-tester": "file:test/func/packages/html-reporter-tester", "html-webpack-include-assets-plugin": "^1.0.2", "html-webpack-plugin": "^5.5.3", "html-webpack-tags-plugin": "^3.0.2", "husky": "^0.11.9", "ignore-styles": "^5.0.1", "immer": "^7.0.15", "jest": "^29.7.0", "jsdom": "^24.1.1", "jsdom-global": "^3.0.2", "less": "^3.11.1", "less-loader": "^11.1.3", "mini-css-extract-plugin": "^2.7.6", "mocha": "^10.7.0", "msw": "^2.3.4", "npm-run-all": "^4.1.5", "nyc": "^14.1.1", "path-browserify": "^1.0.1", "pirates": "^4.0.6", "prop-types": "^15.6.0", "proxyquire": "^1.7.11", "raf": "^3.4.0", "react": "^18.3.1", "react-checkbox-tree": "^1.8.0", "react-clipboard.js": "^1.1.2", "react-dom": "^18.3.1", "react-hotkeys": "^2.0.0", "react-markdown": "^6.0.3", "react-redux": "^7.2.1", "react-router-dom": "^6.25.1", "react-split": "^2.0.14", "react-virtualized": "^9.22.5", "react-virtualized-auto-sizer": "^1.0.24", "react-window": "^1.8.10", "reapop": "^4.2.2", "reduce-reducers": "^1.0.4", "redux": "^4.0.5", "redux-logger": "^3.0.6", "redux-mock-store": "^1.5.1", "redux-thunk": "^2.2.0", "reselect": "^4.1.6", "rimraf": "^2.6.3", "semantic-ui-react": "^3.0.0-beta.2", "sinon": "^4.0.1", "standard-version": "^4.0.0", "stream-browserify": "^3.0.0", "strftime": "^0.10.3", "style-loader": "^3.3.3", "stylus": "^0.57.0", "stylus-loader": "^7.1.3", "terser-webpack-plugin": "^5.3.9", "testplane": "^8.29.1", "tree-kill": "^1.2.2", "ts-node": "^10.9.1", "type-fest": "^3.13.1", "typescript": "^5.0.4", "web-vitals": "^1.1.2", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^3.11.3", "webpack-merge": "^4.1.1" } }