mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-26 08:59:03 -06:00
* Alphabetize cli options for my own sanity * begin added tag flag * Fix some minor grammar in cli help output + be more specific for specs description * update snapshot based on alphabetization change * update snapshot to include --tag in help output * update logic for pulling out space delimited args to look through --tag and --spec flags dynamically * Support and pass along tag flag to run and record - show err if passed without record flag - sanitize args into comma separated string - display tag in record errors * fix some tests/snapshots where 'tag' was missing * Actually try passing in tag through tests to ensure it prints. * Merge branch 'develop' into issue-2561-tags # Conflicts: # cli/__snapshots__/cli_spec.js # cli/lib/cli.js # cli/lib/exec/run.js # packages/server/lib/modes/run.js # packages/server/lib/util/args.js * Send 'tags' as an array to backend API * Update json-schemas to query against 2.2.0 of postRun - this will require a bump to json-schemas repo * update test to reflect tags array * update snapshot to display nightly tag * rearrange args to alphabetical order in specs * Add tags to runResponses / remove tag from incorrect instance post * Fix failing specs / snapshots * Update error messages + snapshots * Fix snapshot that no longer displays tag arg * fix args unit test * remove extra slash * add a few more cli tests * another test just in case * a quick unit test for displayFlags utility Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
108 lines
3.2 KiB
JSON
108 lines
3.2 KiB
JSON
{
|
|
"name": "cypress",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"prebuild": "npm run test-dependencies && node ./scripts/start-build.js",
|
|
"build": "node ./scripts/build.js",
|
|
"check-deps": "node ../scripts/check-deps.js --verbose",
|
|
"check-deps-pre": "npm run check-deps -- --prescript",
|
|
"dtslint": "dtslint types",
|
|
"postinstall": "node ./scripts/post-install.js",
|
|
"lint": "bin-up eslint --fix *.js scripts/*.js bin/* lib/*.js lib/**/*.js test/*.js test/**/*.js",
|
|
"prerelease": "npm run build",
|
|
"release": "cd build && releaser --no-node --no-changelog",
|
|
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
|
"pretest": "npm run check-deps-pre",
|
|
"test": "npm run test-unit",
|
|
"test-debug": "node --inspect --debug-brk $(bin-up _mocha)",
|
|
"test-dependencies": "npm run check-deps && dependency-check . --no-dev",
|
|
"pretest-unit": "npm run check-deps-pre",
|
|
"test-unit": "npm run unit",
|
|
"pretest-watch": "npm run check-deps-pre",
|
|
"test-watch": "npm run unit -- --watch",
|
|
"types": "npm run dtslint",
|
|
"unit": "BLUEBIRD_DEBUG=1 NODE_ENV=test ../node_modules/.bin/mocha --reporter mocha-multi-reporters --reporter-options configFile=../mocha-reporter-config.json"
|
|
},
|
|
"dependencies": {
|
|
"@cypress/listr-verbose-renderer": "0.4.1",
|
|
"@cypress/xvfb": "1.2.4",
|
|
"@types/sizzle": "2.3.2",
|
|
"arch": "2.1.1",
|
|
"bluebird": "3.5.0",
|
|
"cachedir": "1.3.0",
|
|
"chalk": "2.4.2",
|
|
"check-more-types": "2.24.0",
|
|
"commander": "2.15.1",
|
|
"common-tags": "1.8.0",
|
|
"debug": "3.2.6",
|
|
"execa": "0.10.0",
|
|
"executable": "4.1.1",
|
|
"extract-zip": "1.6.7",
|
|
"fs-extra": "5.0.0",
|
|
"getos": "3.1.1",
|
|
"is-ci": "1.2.1",
|
|
"is-installed-globally": "0.1.0",
|
|
"lazy-ass": "1.6.0",
|
|
"listr": "0.12.0",
|
|
"lodash": "4.17.15",
|
|
"log-symbols": "2.2.0",
|
|
"minimist": "1.2.0",
|
|
"moment": "2.24.0",
|
|
"ramda": "0.24.1",
|
|
"request": "2.88.0",
|
|
"request-progress": "3.0.0",
|
|
"supports-color": "5.5.0",
|
|
"tmp": "0.1.0",
|
|
"untildify": "3.0.3",
|
|
"url": "0.11.0",
|
|
"yauzl": "2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/sinon-chai": "1.1.0",
|
|
"@types/blob-util": "1.3.3",
|
|
"@types/bluebird": "3.5.18",
|
|
"@types/chai": "4.0.8",
|
|
"@types/chai-jquery": "1.1.38",
|
|
"@types/jquery": "3.3.31",
|
|
"@types/lodash": "4.14.122",
|
|
"@types/minimatch": "3.0.3",
|
|
"@types/mocha": "5.2.7",
|
|
"@types/sinon": "7.0.0",
|
|
"@types/sinon-chai": "3.2.2",
|
|
"babel-cli": "6.26.0",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"bin-up": "1.2.2",
|
|
"chai": "3.5.0",
|
|
"chai-as-promised": "7.1.1",
|
|
"chai-string": "1.4.0",
|
|
"dependency-check": "3.4.1",
|
|
"dtslint": "0.9.0",
|
|
"execa-wrap": "1.4.0",
|
|
"hasha": "5.0.0",
|
|
"mock-fs": "4.9.0",
|
|
"mocked-env": "1.2.4",
|
|
"nock": "9.6.1",
|
|
"proxyquire": "2.1.0",
|
|
"shelljs": "0.8.3",
|
|
"sinon": "7.2.2",
|
|
"snap-shot-it": "7.9.0",
|
|
"spawn-mock": "1.0.0",
|
|
"strip-ansi": "4.0.0"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib",
|
|
"index.js",
|
|
"types/**/*.d.ts"
|
|
],
|
|
"bin": {
|
|
"cypress": "bin/cypress"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"types": "types"
|
|
}
|