mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 14:09:46 -06:00
* chore: (for eslint-plugin-dev only is breaking) update eslint-plugin dev minimum to eslint 7. Remove support for coffeescript and reconfigured required peer deps * correctly configure eslint-plugin-json-format for the monorepo and run linting on all json files (previously was not running) * properly support no duplicate imports
49 lines
1.4 KiB
JSON
49 lines
1.4 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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"ansi_up": "5.0.0",
|
|
"strip-ansi": "6.0.0"
|
|
},
|
|
"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": "18.17.5",
|
|
"@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"
|
|
}
|