Files
cypress/package.json
T
Chris Breiding 6ba8d7cc93 Electron v5.0.10 (#4720)
* fix specs

* use debugger protocol for cookie handling in electron

* use latest gulp

* use rimraf instead of gulp-clean

* use electron 3.1.8 and node 10.2.1

* use gulp 4 in packages/static

* fix sendCommandAsync, log Schema.getDomains on CDP connect

* autofill e2e test name [skip ci]

* electron@5.0.7, see what new failures exist

* --no-sandbox for launching Electron

* update cookies logic for electron

* node 12

* update snapshot for new node

* update error message for new node

* stub sendCommandAsync

* only connect to socket if path has been replaced, fixes #4776

* update node-sass to support node 12

* skip wacky socket tests for now

* snapshot

* fix run_plugins_spec snapshot, don't include stack trace

* use --no-sandbox on linux to run as root

* allow sendCommandAsync to resolve

* use euid for root check

* log domains even if undefined

* don't worry about ending 1xx responses immediately anymore

* use --max-http-header-size, change max size from 8kb to 1mb, fix #76

* do not send 502 on failed websocket, just send back ECONNRESET

* update websocket spec port to not collide with other test

* update outdated expect

* Revert "only connect to socket if path has been replaced, fixes #4776"

This reverts commit f179eda5ca.

* update gulp in root

* update https-proxy unit tests

* update network spec to properly close server

* update reporter spec

* update https-proxy-agent to fix node 10.10.0 change

discussion: https://github.com/nodejs/node/issues/24474\#issuecomment-511963799

* only pass --max-http-header-size on node >=12

* use own server-destroy implementation that supports secureConnect events

* oops

* update socket_spec

* electron 6.0.0

* console.table introduced in node 10

* change browserify entry to init.js

* handle edge case when no response body

* console.table added in node 10

* do not exit app when all BrowserWindows are closed

* update e2e snapshots

* value may not be null

* update plugins spec

* correct cookie expiry, use browser.getversion for CDP version check

* fix snapshotting for require stacks

* reorder cookies in spec

* warn when depreated electron callback apis are used

* only report 1 plugin error per process

* cleanup

* node 12.4.0, cypress/browsers:node12.4.0-chrome76 docker image

* update shell.openExternal to promisified

* update dialog.showOpenDialog to promisified

* update webContents.session.setProxy to promisified

* updating native dependencies since we don't need ancient node ABI support anymore

* WIP: switch cookies to simpler, jar-less approach

* WIP: switch cookies to simpler, jar-less approach

* making tests pass

* improve cookie filtering logic

* Remove unneeded Promise.try

* filter what makes it to the extension

* properly re-set superdomain cookies on cross-origin cy.visit

* allow comma-separated list of e2e tests

* sort cookies in order of expiration date, ascending

* updating tests, cleanup

* update tests

* version electron as a devDependency, electron@6.0.1

* cleanup, remove old automation

* cleanup, remove old automation

* bump chokidar to fix win10 + node12 issue

was seeing this on windows:
https://github.com/nuxt/nuxt.js/issues/6035

fixed with version bump

* enable now-supported quit role, re-enable old tests

* don't need that arg there

* remove last deprecated callback electron invocations

* Delete cypress.json

* responding to PR feedback

* cleanup

* invoke

* use 'quit' role

* Use new appMenu role for Cypress menu on mac

* electron@6.0.2

* electron@6.0.3

* remove domain: cookie.domain and see what happens

* remove setErrorHandler

* Revert "remove domain: cookie.domain and see what happens"

This reverts commit 49e916896d.

* add unit tests for cookies

* ci

* fix project-content css

* electron@6.0.4

* fix specs_list test

* electron@6.0.7

* some cleanup

* electron@6.0.9

* Update 8_reporters_spec.coffee.js

* electron@5.0.10 - Chromium 73, Node 12

* cli: fix the STDIN pipe on Windows (#5045)

* cli: pipe stdin

* uggh, here is the actual change

* update cli unit tests

* add unit test

* more permissive check for json to include application/vnd.api+j… (#5166)

* more permissive check for json to include

* add json test for content-type application/vnd.api+json

* cruder solution passes e2e tests locally, so let's go with that

* Remove 'charset' from content-type before checking if JSON

* fix eslint for fixture specs (#5176)

* update eslint to lint files within 'fixtures' in support files

- ignore some edge cases like jquery, jsx and obvious js files we wrote
with broken code

* Fixes from eslint to 'fixtures' files

* Catch env variable with reserved name CYPRESS_ENV 1621 (#1626)

* server: check CYPRESS_ENV variable when merging configs

* catch invalid CYPRESS_ENV value in CLI, close #1621

* linting

* sanitize platform in test snapshot

* linting

* update error message text

* add missing comma

* fix finally merge in JS code

* pass CLI linter

* fix log reference, should be debug

* use correct sinon reference

* update message, show first part in red

* update error message text

* Addresses #2953 (#5174)

* Addresses #2953

* Added proper test for new error message

* Didn't realize it ran this test as well, whoops

* Implementing changes as suggested by @jennifer-shehane

* Fixing tests and error output. Moved the checks to the start of the get command to ensure we always catch improper options

* Removing issue test since the querying spec covers it

* Using coffescript isArray check

* depromisify things that were promisified b/t electron 5 <=> 6

Revert "update shell.openExternal to promisified"

This reverts commit 8b6460d015.

Revert "update dialog.showOpenDialog to promisified"

This reverts commit 5f178b075b.

Revert "update webContents.session.setProxy to promisified"

This reverts commit 727df3a4e5.

* node12.4.0-chrome76 => node12.0.0-chrome75

* fix tests for electron downgrade

* node12.0.0-chrome75 => node12.0.0-chrome73


Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-09-24 14:35:24 -04:00

203 lines
7.2 KiB
JSON

{
"name": "cypress",
"version": "3.4.1",
"description": "Cypress.io end to end testing tool",
"private": true,
"scripts": {
"all": "node ./scripts/run.js",
"binary-build": "node ./scripts/binary.js build",
"binary-deploy": "node ./scripts/binary.js deploy",
"binary-deploy-linux": "./scripts/build-linux-binary.sh",
"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",
"prebuild": "npm run check-deps-pre && npm run all prebuild",
"build": "npm run all build",
"bump": "node ./scripts/binary.js bump",
"check-deps": "node ./scripts/check-deps.js --verbose",
"check-deps-pre": "node ./scripts/check-deps.js --verbose --prescript",
"check-node-version": "node scripts/check-node-version.js",
"check-terminal": "node scripts/check-terminal.js",
"clean-deps": "npm run all clean-deps && rm -rf node_modules",
"cypress:open": "node ./cli/bin/cypress open --dev --global",
"cypress:open:debug": "node ./scripts/debug.js cypress:open",
"cypress:run": "node ./cli/bin/cypress run --dev",
"cypress:run:debug": "node ./scripts/debug.js cypress:run",
"cypress:verify": "node ./cli/bin/cypress verify --dev",
"predecaffeinate-bulk": "shx cp .eslintrc.decaffeinate.js .eslintrc.js",
"decaffeinate-bulk": "bulk-decaffeinate",
"postdecaffeinate-bulk": "shx rm .eslintrc.js || true",
"dev": "node ./scripts/start.js",
"dev-debug": "node ./scripts/debug.js dev",
"docker": "./scripts/run-docker-local.sh",
"effective:circle:config": "circleci config process circle.yml | sed /^#/d",
"preinstall": "npx shx rm -rf node_modules/@packages",
"postinstall": "echo 'root postinstall' && npm run link && npm run all install && npm run build",
"install-filtered": "npm run all install -- --package $(node ./scripts/check-deps.js --list)",
"jscodeshift": "jscodeshift -t ./node_modules/js-codemod/transforms/arrow-function-arguments.js",
"link": "node ./scripts/link-packages.js",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.eslintrc .",
"lint-all": "npm run lint-coffee && npm run lint",
"lint-changed": "lint-changed",
"lint-changed-fix": "npm run lint-changed -- --fix",
"lint-coffee": "coffeelint scripts/**/*.coffee && npm run all lint-coffee && npm run stop-only-all",
"lint-fix": "npm run lint -- --fix",
"move-binaries": "node ./scripts/binary.js move-binaries",
"set-next-ci-version": "node ./scripts/binary.js setNextVersion",
"prestart": "npm run check-deps-pre",
"start": "node ./cli/bin/cypress open --dev --global",
"stop-only": "npx stop-only --skip .cy,.publish,.projects,node_modules,dist,dist-test,fixtures,lib,bower_components,spec_helper.coffee",
"stop-only-all": "npm run stop-only -- --folder packages",
"test": "echo '⚠️ This root monorepo is only for local development and new contributions. There are no tests.'",
"test-debug-package": "node ./scripts/test-debug-package.js",
"test-mocha": "mocha --reporter spec scripts/spec.js",
"test-mocha-snapshot": "mocha scripts/mocha-snapshot-spec.js",
"test-s3-api": "node -r ./packages/coffee/register -r ./packages/ts/register scripts/binary/s3-api-demo.ts",
"test-scripts": "mocha -r packages/coffee/register -r packages/ts/register --reporter spec 'scripts/unit/**/*spec.js'",
"test-scripts-watch": "npm run test-scripts -- --watch --watch-extensions 'ts,js,coffee'",
"watch": "npm run all watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@cypress/bumpercar": "2.0.9",
"@cypress/commit-message-install": "2.7.0",
"@cypress/env-or-json-file": "2.0.0",
"@cypress/eslint-plugin-dev": "4.0.0",
"@cypress/github-commit-status-check": "1.5.0",
"@cypress/npm-run-all": "4.0.5",
"@cypress/questions-remain": "1.0.1",
"@fellow/eslint-plugin-coffee": "0.4.13",
"@types/bluebird": "3.5.21",
"@types/chai": "4.1.7",
"@types/debug": "4.1.4",
"@types/execa": "0.7.2",
"@types/fs-extra": "8.0.0",
"@types/glob": "7.1.1",
"@types/lodash": "4.14.122",
"@types/mocha": "5.2.7",
"@types/node": "11.12.0",
"@types/ramda": "0.25.47",
"@types/request-promise": "4.1.42",
"@types/sinon-chai": "3.2.2",
"@typescript-eslint/eslint-plugin": "1.11.0",
"@typescript-eslint/parser": "1.11.0",
"ansi-styles": "3.2.1",
"arg": "4.1.0",
"ascii-table": "0.0.9",
"aws-sdk": "2.447.0",
"babel-eslint": "10.0.1",
"bluebird": "3.5.3",
"bluebird-retry": "0.11.0",
"bulk-decaffeinate": "3.3.1",
"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",
"cloudflare-cli": "3.2.2",
"coffeelint": "1.16.2",
"common-tags": "1.8.0",
"debug": "4.1.1",
"decaffeinate": "6.0.1",
"del": "3.0.0",
"electron-builder": "20.39.0",
"eslint": "6.1.0",
"eslint-plugin-cypress": "2.6.0",
"eslint-plugin-json-format": "2.0.0",
"eslint-plugin-mocha": "6.1.0",
"eslint-plugin-react": "7.14.2",
"execa": "1.0.0",
"execa-wrap": "1.4.0",
"filesize": "4.1.2",
"find-package-json": "1.2.0",
"fs-extra": "8.1.0",
"gift": "0.10.2",
"gulp": "4.0.2",
"gulp-awspublish": "4.0.0",
"gulp-coffee": "3.0.3",
"gulp-debug": "4.0.0",
"gulp-rename": "1.4.0",
"hasha": "5.0.0",
"human-interval": "0.1.6",
"husky": "2.4.1",
"inquirer": "3.3.0",
"inquirer-confirm": "2.0.3",
"js-codemod": "cpojer/js-codemod#29dafed",
"jscodemods": "cypress-io/jscodemods#01b546e",
"jscodeshift": "0.6.3",
"konfig": "0.2.1",
"lazy-ass": "1.6.0",
"lint-staged": "8.2.1",
"lodash": "4.17.15",
"make-empty-github-commit": "1.2.0",
"mocha": "3.5.3",
"mocha-banner": "1.1.2",
"mocha-junit-reporter": "1.23.1",
"mocha-multi-reporters": "1.1.7",
"mock-fs": "4.9.0",
"parse-github-repo-url": "1.4.1",
"plist": "2.1.0",
"pluralize": "8.0.0",
"prefixed-list": "1.0.1",
"pretty-ms": "5.0.0",
"print-arch": "1.0.0",
"proxyquire": "2.1.0",
"ramda": "0.24.1",
"shelljs": "0.8.3",
"shx": "0.3.2",
"sinon": "7.3.2",
"snap-shot-it": "7.8.0",
"stop-only": "3.0.1",
"strip-ansi": "4.0.0",
"terminal-banner": "1.1.0",
"ts-node": "8.3.0",
"typescript": "3.5.3",
"vinyl-paths": "2.1.0"
},
"engines": {
"node": "12.4.0"
},
"productName": "Cypress",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress.git"
},
"homepage": "https://github.com/cypress-io/cypress",
"author": "Brian Mann",
"bugs": {
"url": "https://github.com/cypress-io/cypress/issues"
},
"keywords": [
"automation",
"browser",
"cypress",
"cypress.io",
"e2e",
"end-to-end",
"integration",
"mocks",
"runner",
"spies",
"stubs",
"test",
"testing"
],
"lint-staged": {
"*.coffee": [
"npm run stop-only -- --folder",
"git add"
],
"*.{js,jsx,ts,tsx,json,eslintrc}": [
"npm run stop-only -- --folder",
"eslint --fix",
"git add"
]
}
}