cypress-fail-on-console-error
Version:
fail cypress test on console error
62 lines (61 loc) • 1.82 kB
JSON
{
"name": "cypress-fail-on-console-error",
"version": "5.1.3",
"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": "^21.0.0",
"sinon-chai": "^3.7.0",
"type-detect": "^4.0.8"
},
"devDependencies": {
"@cypress/mount-utils": "^4.0.0",
"@types/chai": "4.3.20",
"@types/mocha": "10.0.10",
"@types/sinon": "21.0.0",
"@types/sinon-chai": "3.2.12",
"@types/type-detect": "4.0.3",
"cypress": "15.8.1",
"mocha": "11.7.5",
"prettier": "3.7.4",
"prettier-plugin-organize-imports": "4.3.0",
"rimraf": "6.1.2",
"typescript": "5.9.3",
"vite": "^7.0.0",
"vitest": "^1.0.0"
}
}