UNPKG

jest-preset-angular

Version:

Jest preset configuration for Angular projects

129 lines (128 loc) 4.53 kB
{ "name": "jest-preset-angular", "version": "14.5.5", "description": "Jest preset configuration for Angular projects", "license": "MIT", "engines": { "node": "^14.15.0 || >=16.10.0" }, "main": "build/index.js", "typings": "build/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/thymikee/jest-preset-angular.git" }, "bugs": { "url": "https://github.com/thymikee/jest-preset-angular/issues" }, "homepage": "https://thymikee.github.io/jest-preset-angular", "author": "Michał Pierzchała <thymikee@gmail.com>", "contributors": [ "Ahn <anhpnnd@gmail.com> (https://github.com/ahnpnl)", "Thomas <thomas@wtho.de> (https://github.com/wtho)" ], "keywords": [ "jest", "typescript", "angular", "testing" ], "scripts": { "build-transformers-bundle": "esbuild --bundle --minify --target=es6 src/transformers/jit_transform.d.ts --platform=node --external:typescript --outfile=./src/transformers/jit_transform.js --format=cjs --define:import.meta.url=import_meta_url --inject:./src/transformers/esm_interop_inject.cjs && cp src/transformers/jit_transform.js build/transformers/jit_transform.js", "build": "tsc -p tsconfig.build.json && yarn build-transformers-bundle", "lint": "eslint .", "lint-fix": "eslint --fix .", "lint-prettier": "prettier \"**/*.{yml,yaml,md}\" --write", "lint-prettier-ci": "prettier \"**/*.{yml,yaml,md}\" --check", "test": "yarn build && jest", "test-e2e": "yarn build && yarn test-cjs && yarn test-esm", "test-cjs": "jest -c=jest-cjs.config.ts --no-cache", "test-esm": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js -c=jest-esm.config.ts --no-cache", "test-examples": "yarn build && node scripts/test-examples.js", "test-perf": "jest -c=performance/jest.config.ts --no-cache", "doc": "cd website && yarn start", "doc:build": "cd website && yarn build", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable", "prepare": "husky" }, "dependencies": { "bs-logger": "^0.2.6", "esbuild-wasm": ">=0.15.13", "jest-environment-jsdom": "^29.7.0", "jest-util": "^29.7.0", "pretty-format": "^29.7.0", "ts-jest": "^29.3.0" }, "optionalDependencies": { "esbuild": ">=0.15.13" }, "peerDependencies": { "@angular/compiler-cli": ">=15.0.0 <20.0.0", "@angular/core": ">=15.0.0 <20.0.0", "@angular/platform-browser-dynamic": ">=15.0.0 <20.0.0", "jest": "^29.0.0", "jsdom": ">=20.0.0", "typescript": ">=4.8" }, "peerDependenciesMeta": { "jsdom": { "optional": true } }, "devDependencies": { "@angular-devkit/build-angular": "^19.2.7", "@angular-eslint/eslint-plugin": "^19.3.0", "@angular-eslint/eslint-plugin-template": "^19.3.0", "@angular-eslint/template-parser": "^19.3.0", "@angular/animations": "^19.2.6", "@angular/cdk": "^19.2.9", "@angular/common": "^19.2.6", "@angular/compiler": "^19.2.6", "@angular/compiler-cli": "^19.2.6", "@angular/core": "^19.2.6", "@angular/forms": "^19.2.6", "@angular/material": "^19.2.9", "@angular/platform-browser": "^19.2.6", "@angular/platform-browser-dynamic": "^19.2.6", "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@commitlint/cli": "^19.8.0", "@commitlint/config-angular": "^19.8.0", "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/jest": "^29.5.14", "@types/node": "^22.14.1", "@types/semver": "^7.7.0", "@typescript-eslint/eslint-plugin": "^8.25.0", "@typescript-eslint/parser": "^8.25.0", "babel-jest": "^29.7.0", "chalk": "^4.1.2", "conventional-changelog-cli": "^5.0.0", "cross-env": "^7.0.3", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-prettier": "^4.2.1", "execa": "5.1.1", "fs-extra": "^11.3.0", "github-files-fetcher": "^1.6.0", "glob": "^10.4.5", "husky": "^9.1.7", "jest": "^29.7.0", "jsdom": "^26.1.0", "pinst": "^3.0.0", "prettier": "^2.8.8", "rimraf": "^5.0.10", "rxjs": "^7.8.2", "ts-node": "^10.9.2", "tslib": "^2.8.1", "type-fest": "^4.39.1", "typescript": "~5.7.3", "zone.js": "~0.15.0" }, "packageManager": "yarn@4.9.1" }