UNPKG

cypress-intercept-formdata

Version:

cypress command to work with Intercept multipart/form-data requests

95 lines (94 loc) 3.35 kB
{ "name": "cypress-intercept-formdata", "version": "0.6.0", "description": "cypress command to work with Intercept multipart/form-data requests", "main": "lib/index.js", "scripts": { "clean": "rimraf lib", "coverage": "./codecov", "types": "tsc --outDir ./tstest", "lint": "eslint ./src --cache", "lint:nocache": "eslint ./src", "build": "pnpm clean; rollup -c", "watch": "pnpm build -w", "start": "pnpm watch", "release:prep": "pnpm build", "release": "np --no-cleanup --test-script=\"release:prep\"", "serve": "http-server -p 9991", "cy:open": "CYPRESS_BASE_URL=http://localhost:9991 cypress open --e2e --browser chrome", "cy:run": "wait-on http://localhost:9991 -d 1000 && CYPRESS_BASE_URL=http://localhost:9991 cypress run --e2e ", "cy:run:ci": "pnpm cy:run --record false --reporter mocha-multi-reporters --reporter-options configFile=\"cypress/reporters-config.json\"", "e2e": "pnpm build; concurrently --success last --kill-others \"pnpm serve\" \"pnpm cy:run\"", "e2e:ci": "concurrently --names \"serve,e2e\" --success first --kill-others \"pnpm serve\" \"pnpm cy:run:ci\"", "vitest": "vitest", "vitest:cov": "pnpm vitest --coverage", "test": "pnpm lint && pnpm types && pnpm vitest:cov && pnpm e2e", "ci-lint": "pnpm lint:nocache", "ci-vitest": "pnpm vitest:cov --run --reporter=default --reporter=junit --outputFile=reports/vitest.xml", "ci-types": "pnpm types", "test:ci": "concurrently -s all --kill-others-on-fail \"pnpm:ci-* \"" }, "types": "./types/index.d.ts", "engines": { "node": ">=14" }, "repository": { "type": "git", "url": "git+https://github.com/yoavniran/cypress-intercept-formdata.git" }, "keywords": [ "cypress", "cypress.io", "form-data", "request", "e2e", "ci" ], "author": "yoav niran", "license": "MIT", "bugs": { "url": "https://github.com/yoavniran/cypress-intercept-formdata/issues" }, "homepage": "https://github.com/yoavniran/cypress-intercept-formdata#readme", "peerDependencies": { "cypress": ">=6.3.0" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/eslint-parser": "^7.22.15", "@babel/plugin-proposal-export-default-from": "^7.22.17", "@babel/plugin-transform-runtime": "^7.22.15", "@babel/preset-env": "^7.22.20", "@babel/register": "^7.22.15", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^15.2.1", "@testing-library/jest-dom": "^6.1.3", "@typescript-eslint/eslint-plugin": "^6.7.3", "@typescript-eslint/parser": "^6.7.3", "@vitest/coverage-v8": "^0.34.6", "concurrently": "^7.6.0", "cypress": "^13.2.0", "eslint": "^8.50.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-vitest": "^0.3.1", "http-server": "^14.1.1", "jest-environment-jsdom": "^29.7.0", "mocha-junit-reporter": "^2.2.1", "mocha-multi-reporters": "^1.5.1", "np": "^7.7.0", "nyc": "^15.1.0", "object-to-formdata": "^4.5.1", "release-it": "^16.2.1", "rimraf": "^5.0.5", "rollup": "^3.29.3", "typescript": "^5.2.2", "vite": "^4.4.9", "vite-plugin-babel": "^1.1.3", "vitest": "^0.34.6", "wait-on": "^5.3.0", "xml2js": "^0.6.2" }, "publishConfig": { "registry": "https://registry.npmjs.org" } }