mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-19 05:29:59 -06:00
* fix: update icons build to work on windows * Add rimraf * Update scripts * Update script * Update scripts * Fix windows migration * Update postinstall script * Remove script
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"
|
|
},
|
|
"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/pixelmatch": "^5.2.4",
|
|
"@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"
|
|
}
|