mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-01 04:20:23 -05:00
92e428a357
* chore: add type linting + compilation checks to runner package * empty commit * A bunch of tslint fixes * wow it is building * Fix issue with CT not mounting correctly with comments within it * Fix net-stubbing.ct.ts failures * Fix tslint: disable comment * move target into compilerOptions * fix tslint disable comment * update proxy-logging to undo changes * standardize the tslint:disable comments * fix comment * fix the banner content not displaying and write a test for this situation * fix ct reference * put target to es2020 * actually set the property with replaced title * Update packages/reporter/src/hooks/hook-model.ts Co-authored-by: Ryan Manuel <ryanm@cypress.io> * Fix eslint/tslint settings for system-tests with vue 3 * bump CI cache * update types/react resolution * add return * lint fix * tslint disable for empty blocks * exclude dist files from ts linting * update to exclude all dist folder * exclude dist file * change to await * fix line numbers of stack trace with linting updating vue file --------- Co-authored-by: Ryan Manuel <ryanm@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": {
|
|
"build": "../../scripts/run-if-ci.sh tsc || echo 'type errors'",
|
|
"build-prod": "tsc",
|
|
"check-ts": "tsc --noEmit && yarn -s tslint",
|
|
"clean": "rimraf ./src/*.js ./src/**/*.js ./src/**/**/*.js ./test/**/*.js || echo 'cleaned'",
|
|
"clean-deps": "rimraf node_modules",
|
|
"comparison": "node -r @packages/ts/register test/support/error-comparison-tool.ts",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
|
"test": "yarn test-unit",
|
|
"test-electron": "HTML_IMAGE_CONVERSION=1 xvfb-maybe electron --no-sandbox ./node_modules/.bin/_mocha",
|
|
"pretest-unit": "yarn clean",
|
|
"test-unit": "mocha",
|
|
"tslint": "tslint --config ../ts/tslint.json --project ."
|
|
},
|
|
"dependencies": {
|
|
"ansi_up": "5.0.0",
|
|
"strip-ansi": "6.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@packages/ts": "0.0.0-development",
|
|
"@packages/types": "0.0.0-development",
|
|
"@types/chai": "4.2.15",
|
|
"@types/mocha": "8.2.2",
|
|
"@types/node": "20.16.0",
|
|
"@types/pngjs": "^6.0.1",
|
|
"ansi-styles": "^5",
|
|
"chai": "4.2.0",
|
|
"ci-info": "^4.0.0",
|
|
"globby": "^11.1.0",
|
|
"mocha": "7.0.1",
|
|
"pngjs": "^6.0.0",
|
|
"rimraf": "5.0.10",
|
|
"sinon": "7.5.0",
|
|
"terminal-banner": "^1.1.0",
|
|
"xvfb-maybe": "^0.2.1"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"types": "src/index.ts",
|
|
"nx": {}
|
|
}
|