UNPKG

angular-unit-test-helper

Version:

Helper functions to help write unit tests in Angular using mocks and spies

75 lines (74 loc) 2.33 kB
{ "name": "angular-unit-test-helper", "version": "18.0.0", "description": "Helper functions to help write unit tests in Angular using mocks and spies", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "tsx node_modules/jasmine/bin/jasmine --config=./jasmine.json", "prebuild": "rimraf dist", "build": "tsc -p tsconfig.src.json", "pretest": "npm run build && npm run build:test", "prepublish": "npm test", "postpublish": "git push origin --all && git push origin --tags", "style": "prettier --check \"{src,tests}/**/*.ts\"", "style:fix": "npm run style -- --write", "lint": "eslint \"{src,tests}/**/*.ts\"", "lint:fix": "npm run lint -- --fix", "prestart": "npm run build", "start": "env-cmd node dist/index.js", "build:test": "tsc -p tests/tsconfig.spec.json", "prepublishOnly": "npm run test", "prepare": "npm run build", "test:ci": "npm test", "init:env": "init-dev-env generate-dot-env example.env -f", "release:beta": "npm version $(semver $npm_package_version -i prerelease --preid beta)" }, "repository": { "type": "git", "url": "git+https://github.com/duluca/angular-unit-test-helper.git" }, "keywords": [ "angular", "unit", "test", "jasmine", "mock", "spy" ], "author": "Doguhan Uluca", "license": "MIT", "bugs": { "url": "https://github.com/duluca/angular-unit-test-helper/issues" }, "homepage": "https://github.com/duluca/angular-unit-test-helper#readme", "overrides": { "braces": "^3.0.3", "cross-spawn": "^7.0.5", "micromatch": "^4.0.8" }, "devDependencies": { "@angular/compiler": "^18.2.12", "@angular/core": "^18.2.12", "@angular/platform-browser": "18.2.12", "@types/jasmine": "^5.1.4", "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/parser": "^6.15.0", "cross-conf-env": "^1.3.0", "dev-norms": "^2.0.4", "env-cmd": "^10.1.0", "eslint": "^8.57.0", "init-dev-env": "^2.0.0", "jasmine": "^5.4.0", "jasmine-core": "^5.4.0", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "rimraf": "^6.0.1", "rxjs": "^7.8.1", "tsutils": "^3.21.0", "tsx": "^4.19.2", "typescript": "^5.4.2", "zone.js": "^0.14.3" } }