mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-01 20:19:58 -06:00
286 lines
11 KiB
JSON
286 lines
11 KiB
JSON
{
|
|
"name": "cypress",
|
|
"version": "12.0.1",
|
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
|
"private": true,
|
|
"scripts": {
|
|
"binary-build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node ./scripts/binary.js build",
|
|
"binary-deploy": "node ./scripts/binary.js deploy",
|
|
"binary-deploy-linux": "./scripts/build-linux-binary.sh",
|
|
"binary-ensure": "node ./scripts/binary.js ensure",
|
|
"binary-purge": "node ./scripts/binary.js purge-version",
|
|
"binary-release": "node ./scripts/binary.js release",
|
|
"binary-upload": "node ./scripts/binary.js upload",
|
|
"binary-zip": "node ./scripts/binary.js zip",
|
|
"build": "yarn build-npm-modules && lerna run build --stream --no-bail --ignore create-cypress-tests --ignore cypress --ignore \"'@packages/{runner}'\" --ignore \"'@cypress/{angular,react,react18,vue,vue2,mount-utils,svelte}'\" && node ./cli/scripts/post-build.js && lerna run build --stream --scope create-cypress-tests",
|
|
"build-npm-modules": "lerna run build --scope cypress --scope @cypress/mount-utils && lerna run build --scope \"'@cypress/{angular,react,react18,vue,vue2,svelte}'\"",
|
|
"build-prod": "lerna run build-prod-ui --stream && lerna run build-prod --stream --ignore create-cypress-tests && node ./cli/scripts/post-build.js && lerna run build-prod --stream --scope create-cypress-tests --scope",
|
|
"build-v8-snapshot-dev": "node --max-old-space-size=8192 tooling/v8-snapshot/scripts/setup-v8-snapshot-in-cypress.js --env=dev",
|
|
"build-v8-snapshot-prod": "node --max-old-space-size=8192 tooling/v8-snapshot/scripts/setup-v8-snapshot-in-cypress.js",
|
|
"check-node-version": "node scripts/check-node-version.js",
|
|
"check-terminal": "node scripts/check-terminal.js",
|
|
"clean": "lerna run clean --parallel --no-bail || echo 'ok, errors while cleaning'",
|
|
"check-ts": "gulp checkTs",
|
|
"clean-deps": "find . -depth -name node_modules -type d -exec rimraf {} \\;",
|
|
"clean-untracked-files": "git clean -d -f",
|
|
"codegen": "yarn gulp codegen",
|
|
"cypress:open": "yarn gulp open --dev --global",
|
|
"precypress:open:debug": "yarn ensure-deps",
|
|
"cypress:open:debug": "node ./scripts/debug.js cypress:open",
|
|
"precypress:run": "yarn ensure-deps",
|
|
"cypress:run": "cypress run --dev",
|
|
"cypress:run:ct": "cypress run-ct --dev",
|
|
"precypress:run:debug": "yarn ensure-deps",
|
|
"cypress:run:debug": "node ./scripts/debug.js cypress:run",
|
|
"cypress:verify": "cypress verify --dev",
|
|
"dev": "gulp dev",
|
|
"dev:clean": "gulp dev:clean",
|
|
"gulp:debug": "node --inspect-brk ./node_modules/.bin/gulp",
|
|
"dev-debug": "node ./scripts/debug.js dev",
|
|
"docker": "./scripts/run-docker-local.sh",
|
|
"ensure-deps": "./scripts/ensure-dependencies.sh",
|
|
"get-next-version": "node scripts/get-next-version.js",
|
|
"postinstall": "node ./scripts/run-postInstall.js",
|
|
"jscodeshift": "jscodeshift -t ./node_modules/js-codemod/transforms/arrow-function-arguments.js",
|
|
"lint": "lerna run lint --no-bail --concurrency 2",
|
|
"lint-changed": "lint-changed",
|
|
"prepare-release-artifacts": "node ./scripts/prepare-release-artifacts.js",
|
|
"npm-release": "node scripts/npm-release.js",
|
|
"prestart": "yarn ensure-deps",
|
|
"start": "cypress open --dev --global",
|
|
"stop-only": "npx stop-only --skip .cy,.publish,.projects,node_modules,dist,dist-test,fixtures,lib,bower_components,src,__snapshots__ --exclude cypress-tests.ts,*only.cy.js",
|
|
"stop-only-all": "yarn stop-only --folder packages",
|
|
"pretest": "yarn ensure-deps",
|
|
"test": "yarn lerna exec yarn test --scope cypress --scope \"'@packages/{config,data-context,electron,errors,extension,https-proxy,launcher,net-stubbing,network,packherd-require,proxy,rewriter,scaffold-config,socket,v8-snapshot-require}'\" --scope \"'@tooling/{electron-mksnapshot,v8-snapshot}'\"",
|
|
"test-debug": "lerna exec yarn test-debug --ignore \"'@packages/{driver,root,static,web-config}'\"",
|
|
"pretest-e2e": "yarn ensure-deps",
|
|
"test-integration": "lerna exec yarn test-integration --ignore \"'@packages/{driver,root,static,web-config}'\"",
|
|
"test-mocha": "mocha --reporter spec scripts/spec.js",
|
|
"test-npm-package-release-script": "npx lerna exec --scope \"@cypress/*\" -- npx --no-install semantic-release --dry-run",
|
|
"test-system": "yarn workspace @tooling/system-tests test",
|
|
"test-scripts": "mocha -r packages/ts/register --reporter spec 'scripts/unit/**/*spec.js'",
|
|
"test-scripts-watch": "yarn test-scripts --watch --watch-extensions 'ts,js'",
|
|
"pretest-unit": "yarn ensure-deps",
|
|
"test-unit": "lerna exec yarn test-unit --ignore \"'{@packages/{driver,root,static,web-config,net-stubbing,rewriter},@cypress/{webpack-dev-server,eslint-plugin-dev}}'\"",
|
|
"pretest-watch": "yarn ensure-deps",
|
|
"test-watch": "lerna exec yarn test-watch --ignore \"'@packages/{driver,root,static,web-config}'\"",
|
|
"type-check": "yarn lerna exec yarn type-check --scope @tooling/system-tests && node scripts/type_check",
|
|
"verify:mocha:results": "node ./scripts/verify-mocha-results",
|
|
"watch": "yarn gulp watch",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/credential-providers": "3.53.0",
|
|
"@cypress/questions-remain": "1.0.1",
|
|
"@cypress/request": "2.88.10",
|
|
"@cypress/request-promise": "4.2.6",
|
|
"@electron/fuses": "1.6.1",
|
|
"@fellow/eslint-plugin-coffee": "0.4.13",
|
|
"@graphql-codegen/add": "3.1.0",
|
|
"@graphql-codegen/cli": "2.2.0",
|
|
"@graphql-codegen/plugin-helpers": "2.3.2",
|
|
"@graphql-codegen/typed-document-node": "2.2.8",
|
|
"@graphql-codegen/typescript": "2.4.2",
|
|
"@graphql-codegen/typescript-operations": "2.2.3",
|
|
"@graphql-codegen/typescript-resolvers": "^2.6.4",
|
|
"@graphql-codegen/typescript-urql-graphcache": "2.2.3",
|
|
"@graphql-tools/delegate": "8.2.1",
|
|
"@graphql-tools/utils": "8.2.3",
|
|
"@graphql-tools/wrap": "8.1.1",
|
|
"@octokit/auth-app": "3.6.1",
|
|
"@octokit/core": "3.6.0",
|
|
"@percy/cli": "1.2.0",
|
|
"@semantic-release/changelog": "5.0.1",
|
|
"@semantic-release/git": "9.0.0",
|
|
"@types/bluebird": "3.5.29",
|
|
"@types/chai-enzyme": "0.6.7",
|
|
"@types/classnames": "2.2.9",
|
|
"@types/debug": "4.1.5",
|
|
"@types/detect-port": "^1.3.1",
|
|
"@types/enzyme-adapter-react-16": "1.0.5",
|
|
"@types/execa": "0.9.0",
|
|
"@types/fluent-ffmpeg": "^2.1.18",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/getenv": "^1.0.0",
|
|
"@types/glob": "7.1.1",
|
|
"@types/gulp": "^4.0.9",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/markdown-it": "0.0.9",
|
|
"@types/mini-css-extract-plugin": "1.2.3",
|
|
"@types/mocha": "8.0.3",
|
|
"@types/node": "14.14.31",
|
|
"@types/prismjs": "1.16.0",
|
|
"@types/react": "16.9.50",
|
|
"@types/react-dom": "16.9.8",
|
|
"@types/request-promise": "4.1.45",
|
|
"@types/rimraf": "^3.0.2",
|
|
"@types/send": "^0.17.1",
|
|
"@types/sinon-chai": "3.2.3",
|
|
"@types/through2": "^2.0.36",
|
|
"@types/underscore.string": "0.0.38",
|
|
"@typescript-eslint/eslint-plugin": "4.18.0",
|
|
"@typescript-eslint/parser": "4.18.0",
|
|
"@urql/introspection": "^0.3.0",
|
|
"arg": "4.1.2",
|
|
"ascii-table": "0.0.9",
|
|
"autobarrel": "^1.1.0",
|
|
"aws-sdk": "2.814.0",
|
|
"babel-eslint": "10.1.0",
|
|
"bluebird": "3.5.3",
|
|
"bluebird-retry": "0.11.0",
|
|
"bytenode": "1.3.7",
|
|
"c8": "^7.10.0",
|
|
"chai": "4.2.0",
|
|
"chai-as-promised": "7.1.1",
|
|
"chalk": "2.4.2",
|
|
"check-dependencies": "1.1.0",
|
|
"check-more-types": "2.24.0",
|
|
"commander": "6.2.1",
|
|
"common-tags": "1.8.0",
|
|
"conventional-recommended-bump": "6.1.0",
|
|
"cross-env": "7.0.3",
|
|
"debug": "^4.3.2",
|
|
"dedent": "^0.7.0",
|
|
"del": "3.0.0",
|
|
"detect-port": "^1.3.0",
|
|
"electron": "21.0.0",
|
|
"electron-builder": "^22.13.1",
|
|
"electron-notarize": "^1.1.1",
|
|
"enzyme-adapter-react-16": "1.12.1",
|
|
"eslint": "7.22.0",
|
|
"eslint-plugin-cypress": "2.11.2",
|
|
"eslint-plugin-graphql": "4.0.0",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-json-format": "2.0.1",
|
|
"eslint-plugin-mocha": "8.1.0",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
"eslint-plugin-vue": "7.18.0",
|
|
"execa": "4.0.0",
|
|
"filesize": "4.1.2",
|
|
"fs-extra": "9.1.0",
|
|
"getenv": "^1.0.0",
|
|
"gift": "0.10.2",
|
|
"glob": "7.1.6",
|
|
"got": "11.8.5",
|
|
"graphql": "^15.5.1",
|
|
"graphql-executor": "0.0.23",
|
|
"gulp": "4.0.2",
|
|
"gulp-awspublish": "4.0.0",
|
|
"gulp-debug": "4.0.0",
|
|
"gulp-rename": "1.4.0",
|
|
"hasha": "5.0.0",
|
|
"http-server": "0.12.3",
|
|
"human-interval": "1.0.0",
|
|
"husky": "7.0.2",
|
|
"inquirer": "3.3.0",
|
|
"inquirer-confirm": "2.0.3",
|
|
"jest": "24.9.0",
|
|
"js-codemod": "cpojer/js-codemod",
|
|
"jscodemods": "https://github.com/cypress-io/jscodemods.git#01b546e",
|
|
"jscodeshift": "0.7.0",
|
|
"lazy-ass": "1.6.0",
|
|
"lerna": "3.20.2",
|
|
"lint-staged": "11.1.2",
|
|
"listr2": "3.8.3",
|
|
"lodash": "^4.17.21",
|
|
"minimist": "1.2.6",
|
|
"mocha": "3.5.3",
|
|
"mocha-banner": "1.1.2",
|
|
"mocha-junit-reporter": "2.1.0",
|
|
"mocha-multi-reporters": "1.1.7",
|
|
"mock-fs": "5.1.1",
|
|
"p-defer": "^3.0.0",
|
|
"patch-package": "6.4.7",
|
|
"playwright-webkit": "1.24.2",
|
|
"pluralize": "8.0.0",
|
|
"postinstall-postinstall": "2.0.0",
|
|
"print-arch": "1.0.0",
|
|
"proxyquire": "2.1.3",
|
|
"rimraf": "3.0.2",
|
|
"semantic-release": "19.0.3",
|
|
"semantic-release-monorepo": "7.0.3",
|
|
"semver": "7.3.2",
|
|
"shelljs": "0.8.5",
|
|
"shx": "0.3.3",
|
|
"sinon": "7.3.2",
|
|
"snap-shot-it": "7.9.3",
|
|
"start-server-and-test": "1.10.8",
|
|
"stop-only": "3.0.1",
|
|
"strip-ansi": "6.0.0",
|
|
"term-to-html": "1.2.0",
|
|
"terminal-banner": "1.1.0",
|
|
"through": "2.3.8",
|
|
"through2": "^4.0.2",
|
|
"tree-kill": "1.2.2",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.7.4",
|
|
"yarn-deduplicate": "3.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.16.0",
|
|
"yarn": ">=1.17.3"
|
|
},
|
|
"productName": "Cypress",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/cypress-io/cypress.git"
|
|
},
|
|
"homepage": "https://github.com/cypress-io/cypress",
|
|
"bugs": {
|
|
"url": "https://github.com/cypress-io/cypress/issues"
|
|
},
|
|
"keywords": [
|
|
"automation",
|
|
"browser",
|
|
"cypress",
|
|
"cypress.io",
|
|
"e2e",
|
|
"end-to-end",
|
|
"integration",
|
|
"component",
|
|
"mocks",
|
|
"runner",
|
|
"spies",
|
|
"stubs",
|
|
"test",
|
|
"testing"
|
|
],
|
|
"workspaces": {
|
|
"packages": [
|
|
"cli",
|
|
"packages/*",
|
|
"npm/*",
|
|
"tooling/*",
|
|
"system-tests"
|
|
],
|
|
"nohoist": [
|
|
"**/webpack-preprocessor/babel-loader",
|
|
"**/webpack-preprocessor/**/merge-source-map",
|
|
"**/webpack-preprocessor/**/patch-package",
|
|
"**/webpack-batteries-included-preprocessor/ts-loader",
|
|
"**/jest",
|
|
"**/jest*",
|
|
"**/expect"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.coffee": "yarn stop-only --folder",
|
|
"*.{js,jsx,ts,tsx,json,eslintrc,vue}": "eslint --fix"
|
|
},
|
|
"resolutions": {
|
|
"**/@types/cheerio": "0.22.21",
|
|
"**/@types/enzyme": "3.10.5",
|
|
"**/@types/react": "16.9.50",
|
|
"**/jquery": "3.1.1",
|
|
"**/pretty-format": "26.4.0",
|
|
"**/sharp": "0.29.3",
|
|
"**/socket.io-parser": "4.0.5",
|
|
"**/ua-parser-js": "0.7.24",
|
|
"@typescript-eslint/eslint-plugin": "4.18.0",
|
|
"sharp": "0.29.3",
|
|
"vue-template-compiler": "2.6.12"
|
|
}
|
|
}
|