forked from NagRock/ts-mockito
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
93 lines (93 loc) · 2.78 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
{
"name": "@typestrong/ts-mockito",
"version": "2.7.12",
"description": "Mocking library for TypeScript",
"main": "lib/ts-mockito.js",
"typings": "lib/ts-mockito",
"scripts": {
"compile": "npm run test:compile-check && npm run cleanup && ./node_modules/.bin/tsc -p ./src",
"cleanup": "rimraf 'lib' && rimraf 'dist'",
"mkdir:dist": "mkdir -p dist/ts-mockito/",
"test": "npm run test:jest && npm run test:karma",
"test:watch": "npm run test:jest:watch",
"test:coverage": "jest --coverage --maxWorkers=4",
"test:jest": "jest",
"test:jest:watch": "jest --watch",
"test:karma": "./node_modules/.bin/karma start karma.conf.js --single-run",
"test:karma:watch": "./node_modules/.bin/karma start karma.conf.js",
"test:compile-check": "tsc --noEmit -p tsconfig.json",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"cp:readme": "cp -rf README.md dist/ts-mockito/",
"cp:license": "cp -rf LICENSE dist/ts-mockito/",
"mv:lib": "mv lib dist/ts-mockito/",
"cp:pkjson": "cp -rf package.json dist/ts-mockito/",
"cp:all": "npm run cp:readme && npm run cp:license && npm run cp:pkjson",
"build": "npm run bump && npm run compile && npm run mkdir:dist && npm run cp:all && npm run mv:lib",
"build:ci": "npm run compile && npm run mkdir:dist && npm run cp:all && npm run mv:lib",
"bump": "npm version patch --force"
},
"author": "[email protected]",
"contributors": [
"Andrew Bradley <[email protected]>",
"Liron Hazan"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TypeStrong/ts-mockito"
},
"keywords": [
"mock",
"typescript",
"tests",
"fake",
"stub",
"spy",
"javascript"
],
"devDependencies": {
"@types/jasmine": "^4.0.3",
"@types/lodash": "^4.14.182",
"@types/node": "^18.6.1",
"@types/safe-json-stringify": "^1.1.2",
"babel-polyfill": "^6.26.0",
"jest": "^28.1.3",
"karma": "^6.4.0",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-jasmine": "^5.1.0",
"karma-mocha-reporter": "^2.2.5",
"karma-typescript": "^5.5.3",
"karma-typescript-preprocessor": "^0.4.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"tslint": "^6.1.3",
"typescript": "^4.7.4"
},
"dependencies": {
"@babel/parser": "^7.24.7",
"lodash": "^4.17.5",
"safe-json-stringify": "^1.2.0"
},
"resolutions": {
"write-file-atomic": "2.4.1"
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(spec))\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageReporters": [
"lcov"
]
}
}