UNPKG

cypress-fail-on-console-error

Version:
63 lines (62 loc) 1.85 kB
{ "name": "cypress-fail-on-console-error", "version": "5.1.1", "description": "fail cypress test on console error", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "build": "npx rimraf dist/ && tsc", "prettier": "prettier --write \"**/*\"", "lint": "tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json", "test": "npm run test:ut && npm run test:e2e && npm run test:cmp", "test:ut": "vitest run unit.test.ts", "test:e2e": "vitest run e2e.test.ts --test-timeout 120000", "test:cmp": "vitest run component.test.ts --test-timeout 120000", "verify": "npm run build && npm run lint && npm run ci:prettier && npm run test", "ci:prettier": "prettier --check \"**/*\"" }, "repository": { "type": "git", "url": "https://github.com/nils-hoyer/cypress-fail-on-console-error.git" }, "keywords": [ "cypress", "testing", "console", "e2e", "component" ], "author": "nils-hoyer", "license": "MIT", "bugs": { "url": "https://github.com/nils-hoyer/cypress-fail-on-console-error/issues" }, "homepage": "https://github.com/nils-hoyer/cypress-fail-on-console-error#readme", "dependencies": { "chai": "^4.3.10", "sinon": "^17.0.0", "sinon-chai": "^3.7.0", "type-detect": "^4.0.8" }, "devDependencies": { "@cypress/mount-utils": "^4.0.0", "@types/chai": "4.3.14", "@types/expect": "24.3.0", "@types/mocha": "10.0.6", "@types/sinon": "17.0.3", "@types/sinon-chai": "3.2.12", "@types/type-detect": "4.0.3", "cypress": "13.7.3", "mocha": "10.4.0", "prettier": "3.2.5", "prettier-plugin-organize-imports": "3.2.4", "rimraf": "5.0.5", "typescript": "5.4.5", "vite": "^5.0.0", "vitest": "^1.0.0" } }