|
1 | 1 | { |
2 | 2 | "name": "@morgan-stanley/ts-mocking-bird", |
3 | | - "version": "2.0.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "A fully type safe mocking, call verification and import replacement library for jasmine and jest", |
5 | 5 | "license": "Apache-2.0", |
6 | 6 | "author": "Morgan Stanley", |
|
35 | 35 | "@jsdevtools/coverage-istanbul-loader": "^3.0.5", |
36 | 36 | "@types/jasmine": "^6.0.0", |
37 | 37 | "@types/jest": "^30.0.0", |
| 38 | + "@types/lodash": "^4.17.24", |
38 | 39 | "@types/lodash-es": "^4.17.12", |
39 | 40 | "@types/node": "^25.3.5", |
40 | 41 | "chromedriver": "^142.0.3", |
|
57 | 58 | "karma-junit-reporter": "^2.0.1", |
58 | 59 | "karma-sourcemap-loader": "^0.4.0", |
59 | 60 | "karma-webpack": "^5.0.0", |
| 61 | + "lodash": "^4.17.23", |
60 | 62 | "prettier": "^3.8.1", |
61 | 63 | "puppeteer": "^24.17.0", |
62 | 64 | "rimraf": "^6.0.1", |
|
77 | 79 | "typescript": ">=4.2" |
78 | 80 | }, |
79 | 81 | "peerDependenciesMeta": { |
80 | | - "jest": {"optional": true}, |
81 | | - "jasmine": {"optional": true} |
| 82 | + "jest": { |
| 83 | + "optional": true |
| 84 | + }, |
| 85 | + "jasmine": { |
| 86 | + "optional": true |
| 87 | + } |
| 88 | + }, |
| 89 | + "resolutions": { |
| 90 | + "rollup": "npm:@rollup/wasm-node@^4.0.0" |
82 | 91 | }, |
83 | | - "resolutions": {"rollup": "npm:@rollup/wasm-node@^4.0.0"}, |
84 | 92 | "repository": { |
85 | 93 | "type": "git", |
86 | 94 | "url": "git+https://github.com/morganstanley/ts-mocking-bird.git" |
87 | 95 | }, |
88 | | - "dependencies": {"lodash-es": "^4.17.21"}, |
89 | | - "publishConfig": {"access": "public"}, |
| 96 | + "dependencies": { |
| 97 | + "lodash-es": "^4.17.21" |
| 98 | + }, |
| 99 | + "publishConfig": { |
| 100 | + "access": "public" |
| 101 | + }, |
90 | 102 | "jest-comments": [ |
91 | 103 | "to run jest tests you will have to install jest first. This conflicts with karma so not installed by default", |
92 | 104 | "we specify the config here rather than in a jest.config.js file as package.json config is more compatible with older versions of jest that we test against" |
93 | 105 | ], |
94 | 106 | "jest": { |
95 | 107 | "preset": "ts-jest", |
96 | | - "testMatch": ["**/spec/examples/*.spec.ts"], |
| 108 | + "testMatch": [ |
| 109 | + "**/spec/examples/*.spec.ts" |
| 110 | + ], |
97 | 111 | "moduleNameMapper": { |
98 | | - "^(\\.{1,2}/.*)\\.js$": "$1" |
| 112 | + "^(\\.{1,2}/.*)\\.js$": "$1", |
| 113 | + "^lodash-es$": "lodash" |
99 | 114 | } |
100 | 115 | }, |
101 | 116 | "type": "module" |
|
0 commit comments