Files
cypress/package.json
Brian Mann 4b368830fa send array of specs to API + platform (#1682)
* WIP: refactor runs and recordings, update to new API updates, iteratively send spec results [skip ci]

* update / add schema deps

* add takenAt to screenshots payload

* WIP: refactor recordings to send correctly payloads, iterative through each spec, error handling, e2e tests

* add missing properties, remove hacks, upload stdout, passing tests

* normalize wall clock for newest schema spec

* rename projectPath -> projectRoot for clarity

* normalize specPattern to be relative to projectRoot

* comment out lib/api debug code

* WIP fixes a lot of failing tests

* many more tests around recording

* WIP: update to use x-os-name on all instead of platform

* WIP: update to route version 4 for creating instances

* server: upgrade json-schemas to 4.7.2

* remove debug logs

* fix stdout not being restored correctly between specs

* test all the edge cases with failed api interactions and early exits

* add e2e tests around recording without projectID

* add e2e tests around recording without recordKey

* refactored all tests surrounding record mode, removed duplicates, tested only edge cases

* fixes #1692

* fix failing unit tests, bump schemas

* bump sinon, replace custom sandbox

* fix sinon@5 not restoring fake timers automatically

* missing e2e record snapshots

* fix failing tests, don't pass config through each run, remove old timings in favor of spec isolation

* more e2e test fixes

* add e2e tests around uploading artifacts, fix bug with not uploading videos when it should

- cleanup some dead code
- add debug logs

* cleanup dead code, remove notion of failingTests
2018-05-13 20:24:46 -04:00

143 lines
4.7 KiB
JSON

{
"name": "cypress",
"productName": "Cypress",
"version": "2.1.0",
"description": "Cypress.io end to end testing tool",
"private": true,
"engines": {
"node": ">=8.2.1"
},
"scripts": {
"start": "node ./cli/bin/cypress open --dev --global",
"cypress:open": "node ./cli/bin/cypress open --dev --global",
"cypress:run": "node ./cli/bin/cypress run --dev",
"dev": "node ./scripts/start.js",
"watch": "npm run all watch",
"deps": "deps-ok",
"prebuild": "npm run deps",
"build": "npm run all build",
"all": "node ./scripts/run.js",
"test": "echo '⚠️ This root monorepo is only for local development and new contributions. There are no tests.'",
"link": "node ./scripts/link-packages.js",
"postinstall": "echo 'root postinstall' && npm run link && npm run all install && npm run build",
"clean-deps": "npm run all clean-deps",
"docker": "./scripts/run-docker-local.sh",
"lint-js": "eslint --fix scripts/*.js packages/ts/*.js cli/*.js cli/**/*.js",
"lint-coffee": "coffeelint scripts/**/*.coffee",
"lint": "npm run lint-js && npm run lint-coffee",
"pretest": "npm run lint && npm run all lint && npm run test-scripts",
"precommit": "lint-staged",
"precommit-lint": "eslint --fix",
"prepush": "npm run stop-only",
"stop-only": "stop-only packages --exclude-dir .cy --exclude-dir .projects --exclude-dir node_modules --exclude-dir dist --exclude-dir dist-test --exclude-dir fixtures --exclude-dir lib --exclude-dir bower_components",
"bump": "node ./scripts/binary.js bump",
"set-next-ci-version": "node ./scripts/binary.js setNextVersion",
"binary-build": "node ./scripts/binary.js build",
"binary-zip": "node ./scripts/binary.js zip",
"binary-upload": "node ./scripts/binary.js upload",
"binary-deploy": "node ./scripts/binary.js deploy",
"binary-purge": "node ./scripts/binary.js purge-version",
"binary-deploy-linux": "./scripts/build-linux-binary.sh",
"binary-release": "node ./scripts/binary.js release",
"test-scripts": "mocha --reporter spec scripts/unit/*spec.js",
"test-mocha": "mocha --reporter spec scripts/spec.js",
"test-mocha-snapshot": "mocha scripts/mocha-snapshot-spec.js",
"check-node-version": "node scripts/check-node-version.js"
},
"lint-staged": {
"*.js": [
"precommit-lint"
]
},
"devDependencies": {
"@cypress/bumpercar": "1.4.0",
"@cypress/env-or-json-file": "^2.0.0",
"@cypress/npm-run-all": "^4.0.4",
"@cypress/questions-remain": "^1.0.1",
"ansi-styles": "^3.1.0",
"ascii-table": "0.0.9",
"babel-eslint": "^7.2.3",
"bluebird": "^3.4.5",
"bluebird-retry": "^0.11.0",
"chai": "^4.0.2",
"chalk": "^2.0.1",
"check-more-types": "^2.24.0",
"cloudflare-cli": "^2.1.0",
"coffeelint": "^1.16.0",
"commit-message-install": "^1.10.0",
"common-tags": "^1.4.0",
"console.table": "^0.9.1",
"debug": "3.1.0",
"del": "^3.0.0",
"deps-ok": "^1.4.1",
"electron-osx-sign": "^0.4.6",
"eslint": "4.13.1",
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-cypress-dev": "^1.1.1",
"eslint-plugin-mocha": "^4.11.0",
"eslint-plugin-react": "^7.3.0",
"execa": "^0.8.0",
"execa-wrap": "^1.1.0",
"filesize": "^3.5.10",
"fs-extra": "^2.1.2",
"gift": "^0.10.0",
"gulp": "^3.9.1",
"gulp-awspublish": "^3.3.0",
"gulp-coffee": "^2.3.4",
"gulp-debug": "^3.1.0",
"gulp-rename": "^1.2.2",
"gulp-typescript": "^3.1.7",
"human-interval": "^0.1.6",
"husky": "^0.14.3",
"inquirer": "^3.1.1",
"konfig": "^0.2.1",
"lazy-ass": "^1.6.0",
"lint-staged": "^4.1.3",
"lodash": "^4.17.4",
"make-empty-github-commit": "^1.2.0",
"mocha": "^3.5.0",
"mocha-banner": "^1.1.1",
"mocha-junit-reporter": "^1.13.0",
"mocha-multi-reporters": "^1.1.5",
"obfuscator": "^0.5.4",
"parse-github-repo-url": "^1.4.1",
"plist": "^2.1.0",
"pluralize": "^6.0.0",
"prefixed-list": "^1.0.1",
"print-arch": "^1.0.0",
"ramda": "^0.24.1",
"shelljs": "^0.7.8",
"snap-shot-it": "^4.0.1",
"stop-only": "^1.1.0",
"terminal-banner": "^1.0.0",
"typescript": "^2.3.4",
"vagrant": "0.0.1",
"vinyl-paths": "^2.1.0"
},
"author": "Brian Mann",
"license": "MIT",
"homepage": "https://github.com/cypress-io/cypress",
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress.git"
},
"bugs": {
"url": "https://github.com/cypress-io/cypress/issues"
},
"keywords": [
"browser",
"cypress",
"cypress.io",
"automation",
"end-to-end",
"e2e",
"integration",
"mocks",
"test",
"testing",
"runner",
"spies",
"stubs"
]
}