162 lines
5.7 KiB
JSON
162 lines
5.7 KiB
JSON
{
|
|
"name": "@jest/monorepo",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.3.4",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.0.0",
|
|
"@babel/register": "^7.0.0",
|
|
"@crowdin/cli": "^3.5.2",
|
|
"@jest/globals": "workspace:*",
|
|
"@jest/test-utils": "workspace:*",
|
|
"@tsconfig/node10": "^1.0.8",
|
|
"@tsd/typescript": "~4.1.5",
|
|
"@types/babel__core": "^7.0.0",
|
|
"@types/babel__generator": "^7.0.0",
|
|
"@types/babel__template": "^7.0.0",
|
|
"@types/dedent": "0.7.0",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "~10.14.0",
|
|
"@types/which": "^2.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
|
"@typescript-eslint/parser": "^4.1.0",
|
|
"ansi-regex": "^5.0.1",
|
|
"ansi-styles": "^5.0.0",
|
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
"camelcase": "^6.2.0",
|
|
"chalk": "^4.0.0",
|
|
"chokidar": "^3.3.0",
|
|
"codecov": "^3.0.0",
|
|
"debug": "^4.0.1",
|
|
"dedent": "^0.7.0",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
|
"eslint-plugin-import": "^2.6.0",
|
|
"eslint-plugin-jest": "^24.0.0",
|
|
"eslint-plugin-local": "^1.0.0",
|
|
"eslint-plugin-markdown": "^1.0.0",
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
"execa": "^5.0.0",
|
|
"fast-check": "^2.0.0",
|
|
"find-process": "^1.4.1",
|
|
"glob": "^7.1.1",
|
|
"globby": "^11.0.0",
|
|
"graceful-fs": "^4.2.9",
|
|
"isbinaryfile": "^4.0.0",
|
|
"istanbul-lib-coverage": "^3.0.0",
|
|
"istanbul-lib-report": "^3.0.0",
|
|
"istanbul-reports": "^3.1.3",
|
|
"jest": "workspace:*",
|
|
"jest-changed-files": "workspace:*",
|
|
"jest-junit": "^13.0.0",
|
|
"jest-mock": "workspace:*",
|
|
"jest-runner-tsd": "^2.0.0",
|
|
"jest-silent-reporter": "^0.5.0",
|
|
"jest-snapshot": "workspace:*",
|
|
"jest-watch-typeahead": "^0.6.0",
|
|
"jquery": "^3.2.1",
|
|
"lerna": "^4.0.0",
|
|
"micromatch": "^4.0.4",
|
|
"mock-fs": "^4.4.1",
|
|
"netlify-plugin-cache": "^1.0.3",
|
|
"node-notifier": "^10.0.0",
|
|
"prettier": "^2.1.1",
|
|
"progress": "^2.0.0",
|
|
"promise": "^8.0.2",
|
|
"read-pkg": "^5.2.0",
|
|
"resolve": "^1.15.0",
|
|
"rimraf": "^3.0.0",
|
|
"semver": "^7.3.2",
|
|
"slash": "^3.0.0",
|
|
"string-length": "^4.0.1",
|
|
"strip-ansi": "^6.0.0",
|
|
"strip-json-comments": "^3.1.1",
|
|
"tempy": "^1.0.0",
|
|
"throat": "^6.0.1",
|
|
"ts-node": "^9.0.0",
|
|
"type-fest": "^1.1.1",
|
|
"typescript": "^4.0.2",
|
|
"which": "^2.0.1"
|
|
},
|
|
"scripts": {
|
|
"build-clean": "rimraf './packages/*/build' './packages/*/dist' './packages/*/tsconfig.tsbuildinfo'",
|
|
"build": "yarn build:js && yarn build:ts",
|
|
"build:js": "node ./scripts/build.js",
|
|
"build:ts": "node ./scripts/buildTs.js",
|
|
"check-copyright-headers": "node ./scripts/checkCopyrightHeaders.js",
|
|
"clean-all": "yarn clean-e2e && yarn build-clean && rimraf './packages/*/node_modules' && rimraf './node_modules'",
|
|
"clean-e2e": "node ./scripts/cleanE2e.js",
|
|
"crowdin:upload": "echo 'Uploading sources to Crowdin' && crowdin upload sources --config ./crowdin.yaml",
|
|
"crowdin:download": "echo 'Downloading translations from Crowdin' && crowdin download --config ./crowdin.yaml",
|
|
"jest": "node ./packages/jest-cli/bin/jest.js",
|
|
"jest-jasmine": "JEST_JASMINE=1 yarn jest",
|
|
"jest-jasmine-ci": "yarn jest-jasmine --color --config jest.config.ci.js",
|
|
"jest-coverage": "yarn jest --coverage",
|
|
"lint": "eslint . --cache --ext js,jsx,ts,tsx,md",
|
|
"lint:prettier": "prettier '**/*.{md,yml,yaml}' 'website/**/*.{css,js}' --write --ignore-path .gitignore",
|
|
"lint:prettier:ci": "prettier '**/*.{md,yml,yaml}' 'website/**/*.{css,js}' --check --ignore-path .gitignore",
|
|
"remove-examples": "node ./scripts/remove-examples.js",
|
|
"test-types": "yarn jest --config jest.config.tsd.js",
|
|
"test-ci": "yarn jest-coverage --color -i --config jest.config.ci.js && yarn test-leak && node ./scripts/mapCoverage.js && codecov",
|
|
"test-ci-partial": "yarn test-ci-partial:parallel -i",
|
|
"test-ci-partial:parallel": "yarn jest --color --config jest.config.ci.js",
|
|
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",
|
|
"test-leak": "yarn jest -i --detectLeaks jest-mock jest-diff jest-repl pretty-format",
|
|
"test": "yarn lint && yarn jest",
|
|
"verify-old-ts": "node ./scripts/verifyOldTs.js",
|
|
"verify-pnp": "node ./scripts/verifyPnP.js",
|
|
"watch": "yarn build:js && node ./scripts/watch.js",
|
|
"watch:ts": "yarn build:ts --watch"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"website",
|
|
"examples/*"
|
|
],
|
|
"prettier": {
|
|
"bracketSpacing": false,
|
|
"proseWrap": "never",
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"arrowParens": "avoid",
|
|
"overrides": [
|
|
{
|
|
"files": "website/**/*.js",
|
|
"options": {
|
|
"trailingComma": "es5"
|
|
}
|
|
},
|
|
{
|
|
"files": ".yarnrc.yml",
|
|
"options": {
|
|
"singleQuote": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/jest",
|
|
"logo": "https://opencollective.com/jest/logo.txt"
|
|
},
|
|
"engines": {
|
|
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
|
|
},
|
|
"resolutions": {
|
|
"@jest/create-cache-key-function": "workspace:*",
|
|
"@testing-library/dom/pretty-format": "26.6.1",
|
|
"@types/jest/jest-diff": "^25.1.0",
|
|
"@types/jest/pretty-format": "^25.1.0",
|
|
"@types/jsdom": "patch:@types/jsdom@*#./patches/@types-jsdom.patch",
|
|
"babel-jest": "workspace:*",
|
|
"jest": "workspace:*",
|
|
"jest-environment-node": "workspace:*",
|
|
"react-native": "patch:react-native@0.64.0#./patches/react-native.patch"
|
|
}
|
|
}
|