UNPKG

cypress-fail-on-network-error

Version:
66 lines (65 loc) 2.06 kB
{ "name": "cypress-fail-on-network-error", "version": "1.0.4", "description": "fail cypress test on network error", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "build": "npm run build:be & npm run build:fe", "build:fe": "npx rimraf dist/ && tsc", "build:be": "node ./backend/app.cjs", "dev": "npm run dev:fe & npm run dev:be", "dev:fe": "nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'", "dev:be": "nodemon --watch './backend/app.js' --ext 'js' --exec 'npm run build:be'", "prettier": "prettier --write \"**/*\"", "prettier:check": "prettier --check \"**/*\"", "lint": "tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json", "test": "npm run test:ut && npm run test:it", "test:ut": "ts-mocha -n loader=ts-node/esm test/unitTest.ts", "test:it": "ts-mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000", "verify": "npm run build && npm run lint && npm run prettier:check && npm run test" }, "repository": { "type": "git", "url": "https://github.com/nils-hoyer/cypress-fail-on-network-error.git" }, "keywords": [ "cypress", "testing", "network", "request", "response", "error" ], "author": "nils-hoyer", "license": "MIT", "bugs": { "url": "https://github.com/nils-hoyer/cypress-fail-on-network-error/issues" }, "homepage": "https://github.com/nils-hoyer/cypress-fail-on-network-error#readme", "dependencies": { "chai": "^5.0.0", "type-detect": "^4.0.8" }, "devDependencies": { "@types/chai": "4.3.14", "@types/expect": "24.3.0", "@types/mocha": "10.0.6", "@types/type-detect": "4.0.3", "cors": "2.8.5", "cypress": "13.7.3", "express": "4.19.2", "mocha": "10.4.0", "nodemon": "3.1.0", "prettier": "3.2.5", "prettier-plugin-organize-imports": "3.2.4", "rimraf": "5.0.5", "ts-mocha": "10.0.0", "ts-node": "^10.9.1", "typescript": "5.4.5" } }