UNPKG

@ng-apimock/cypress-plugin

Version:
118 lines (117 loc) 3.33 kB
{ "name": "@ng-apimock/cypress-plugin", "description": "Cypress plugin for ng-apimock", "version": "3.0.0", "homepage": "https://github.com/ng-apimock/cypress-plugin#readme", "author": { "name": "Mischa Dasberg", "email": "mischa@dasberg.nl" }, "main": "dist/index.js", "types": "dist/cypress.d.ts", "scripts": { "cleanup": "node test/cleanup.js", "precompile": "rm -rf dist", "compile": "tsc -p tsconfig.json", "postcompile": "copyfiles -u 1 src/**/*.d.ts dist", "lint": "eslint \"src/**/*.ts\"", "postlint": "eslint \"test/**/*.js\" --rule \"jest/valid-expect: off\" --rule \"import/named: off\"", "lint:fix": "npm run lint -- --fix", "start": "node test/server.js", "test": "jest --config=jest.config.js -w 1", "cypress:open": "cypress open", "cypress:run": "cypress run" }, "repository": { "type": "git", "url": "git+https://github.com/ng-apimock/cypress-plugin.git" }, "bugs": { "url": "https://github.com/ng-apimock/cypress-plugin/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/ng-apimock/cypress-plugin/blob/master/LICENSE-MIT" } ], "keywords": [ "apimock", "ng-apimock", "http", "api", "cypress", "plugin" ], "devDependencies": { "@badeball/cypress-cucumber-preprocessor": "15.1.1", "@bahmutov/cypress-esbuild-preprocessor": "2.1.5", "@commitlint/cli": "17.4.2", "@commitlint/config-conventional": "17.4.2", "@ng-apimock/core": "3.6.1", "@ng-apimock/test-application": "3.5.2", "@semantic-release/changelog": "6.0.2", "@semantic-release/commit-analyzer": "9.0.2", "@semantic-release/git": "10.0.1", "@semantic-release/github": "8.0.7", "@semantic-release/npm": "9.0.2", "@semantic-release/release-notes-generator": "10.0.3", "@types/bluebird": "3.5.38", "@types/chai": "4.3.4", "@types/connect": "3.4.35", "@types/fs-extra": "11.0.1", "@types/jest": "29.2.5", "@types/node": "18.11.18", "@types/url-join": "4.0.1", "@types/uuid": "9.0.0", "@typescript-eslint/eslint-plugin": "5.48.1", "@typescript-eslint/parser": "5.48.1", "bluebird": "3.7.2", "chai": "4.3.7", "commitizen": "4.2.6", "connect": "3.7.0", "copyfiles": "2.4.1", "cypress": "12.3.0", "eslint": "8.32.0", "eslint-config-airbnb-base": "15.0.0", "eslint-plugin-cypress": "2.12.1", "eslint-plugin-import": "2.27.4", "eslint-plugin-jest": "27.2.1", "eventemitter2": "6.4.9", "express": "4.18.2", "fs-extra": "11.1.0", "http-proxy-middleware": "2.0.6", "husky": "8.0.3", "jest": "29.3.1", "jest-matchers": "20.0.3", "lint-staged": "13.1.0", "semantic-release": "20.0.2", "serve-static": "1.15.0", "ts-jest": "29.0.5", "ts-node": "10.9.1", "typescript": "4.9.4" }, "dependencies": { "@ng-apimock/base-client": "3.3.1", "urljoin": "0.1.5" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "**/**.{ts}": [ "eslint --fix" ] }, "peerDependencies": { "cypress": ">=4" }, "cypress-cucumber-preprocessor": { "stepDefinitions": [ "test/step_definitions/*.{js,ts}" ] } }