mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-18 13:09:56 -06:00
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com> Co-authored-by: Bill Glesias <bglesias@gmail.com> Co-authored-by: mattvCypress <mattv@cypress.io> Co-authored-by: Ryan Manuel <ryanm@cypress.io> Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> Co-authored-by: Jordan <jordan@jpdesigning.com> Co-authored-by: Adam Stone <adams@cypress.io>
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "@packages/errors",
|
|
"version": "0.0.0-development",
|
|
"description": "Error definitions and utilities for Cypress",
|
|
"main": "index.js",
|
|
"browser": "src/index.ts",
|
|
"scripts": {
|
|
"test": "yarn test-unit",
|
|
"comparison": "node -r @packages/ts/register test/support/error-comparison-tool.ts",
|
|
"build": "../../scripts/run-if-ci.sh tsc || echo 'type errors'",
|
|
"build-prod": "tsc",
|
|
"check-ts": "tsc --noEmit",
|
|
"clean-deps": "rimraf node_modules",
|
|
"clean": "rimraf ./src/*.js ./src/**/*.js ./src/**/**/*.js ./test/**/*.js || echo 'cleaned'",
|
|
"pretest-unit": "yarn clean",
|
|
"test-unit": "mocha",
|
|
"test-electron": "HTML_IMAGE_CONVERSION=1 xvfb-maybe electron --no-sandbox ./node_modules/.bin/_mocha",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
|
},
|
|
"dependencies": {
|
|
"ansi_up": "5.0.0",
|
|
"strip-ansi": "6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@packages/config": "0.0.0-development",
|
|
"@packages/ts": "0.0.0-development",
|
|
"@packages/types": "0.0.0-development",
|
|
"@types/chai": "4.2.15",
|
|
"@types/mocha": "8.2.2",
|
|
"@types/node": "14.14.31",
|
|
"@types/pngjs": "^6.0.1",
|
|
"@types/strip-ansi": "^5.2.1",
|
|
"ansi-styles": "^5",
|
|
"chai": "4.2.0",
|
|
"globby": "^11.1.0",
|
|
"is-ci": "^3.0.1",
|
|
"mocha": "7.0.1",
|
|
"pngjs": "^6.0.0",
|
|
"rimraf": "3.0.2",
|
|
"sinon": "7.5.0",
|
|
"terminal-banner": "^1.1.0",
|
|
"xvfb-maybe": "^0.2.1"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"types": "src/index.ts"
|
|
}
|