-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
113 lines (113 loc) · 4.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@morgan-stanley/ts-mocking-bird",
"version": "1.3.3",
"description": "A fully type safe mocking, call verification and import replacement library for jasmine and jest",
"license": "Apache-2.0",
"author": "Morgan Stanley",
"main": "./dist/main/index.js",
"types": "./dist/main/index.d.ts",
"scripts": {
"clean": "rimraf dist reports ../build ../install ../packages docs",
"build": "tsc -p main/tsconfig.json",
"postbuild": "npm run copy",
"copy": "copyfiles main/**/*.html main/**/*.css main/**/*.jpg dist",
"prebuild-release": "npm run clean",
"verify-release": "npm run build && concurrently --kill-others-on-fail npm:lint npm:test:karma npm:test:jest npm:test:vitest",
"build-release": "npm run verify-release",
"postbuild-release": "typedoc main/index.ts",
"watch-build": "tsc --watch -p main/tsconfig.json",
"test": "npm run test:karma",
"test:karma": "karma start --singleRun --browsers ChromeHeadlessNoSandbox",
"test:jest": "jest",
"pretest:vitest": "npm run build",
"test:vitest": "vitest --run",
"prewatch-test:vitest": "npm run build",
"watch-test:vitest": "vitest",
"lint": "eslint . --ext .ts,.js",
"watch-test": "karma start --no-coverage",
"watch-test:jest": "jest --watch",
"watch-test-coverage": "karma start",
"lint:fix": "eslint . --ext .ts,.js --fix",
"compatibility-test": "npx tsc spec/ts-compat-test.ts --noEmit --skipLibCheck"
},
"devDependencies": {
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@types/jasmine": "^5.1.4",
"@types/jest": "^27.5.1",
"@types/lodash": "^4.14.176",
"@types/node": "^20.17.16",
"@types/uuid": "^7.0.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chromedriver": "^130.0.2",
"circular-dependency-plugin": "^5.2.2",
"concurrently": "^9.1.0",
"copyfiles": "^1.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.1",
"jasmine": "^5.4.0",
"jasmine-core": "^3.10.1",
"jest": "^29.7.0",
"jsdom": "^26.0.0",
"karma": "^6.3.17",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.2.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^1.7.0",
"karma-junit-reporter": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"prettier": "^2.4.1",
"puppeteer": "^23.5.0",
"rimraf": "^6.0.1",
"source-map": "0.5.7",
"ts-jest": "^29.2.5",
"ts-loader": "^9.2.7",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typescript": "5.0",
"vitest": "^3.0.4",
"webpack": "^5.69.1"
},
"peerDependencies": {
"jasmine": "2.x || 3.x || 4.x || 5.x",
"jest": "26.x || 27.x || 28.x || 29.x",
"typescript": ">=4.2"
},
"peerDependenciesMeta": {
"jest": {
"optional": true
},
"jasmine": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/morganstanley/ts-mocking-bird.git"
},
"dependencies": {
"lodash": "^4.17.16",
"typedoc": "^0.27.6",
"uuid": "^7.0.3"
},
"publishConfig": {
"access": "public"
},
"jest-comments": [
"to run jest tests you will have to install jest first. This conflicts with karma so not installed by default",
"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"
],
"jest": {
"preset": "ts-jest",
"testMatch": [
"**/spec/examples/*.spec.ts"
]
}
}