-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 3.84 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "jest-mock-props",
"version": "0.0.0",
"description": "Mock module and object properties",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"typings"
],
"scripts": {
"build": "webpack --mode=production",
"build-watch": "webpack --mode=development --watch",
"clean": "rm -rf ./lib",
"commit": "git-cz",
"commitlint": "commitlint-travis",
"compile-types": "tsc --emitDeclarationOnly --project tsconfig.prod.json",
"lint": "eslint . --ext .js,.ts",
"release": "semantic-release",
"test": "jest",
"test-ci": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test-watch": "jest --watch"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm"
]
},
"jest": {
"preset": "ts-jest",
"moduleDirectories": [
"<rootDir>",
"./node_modules"
],
"moduleFileExtensions": [
"js",
"d.ts",
"ts",
"tsx",
"jsx",
"json",
"node"
],
"setupFilesAfterEnv": [
"./config/setupTests.ts"
],
"testPathIgnorePatterns": [
"./artifacts/",
"./node_modules/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"coverageDirectory": "./artifacts/coverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts}": [
"npm run lint",
"npm test -- --bail --findRelatedTests"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"author": "iamogbz",
"license": "Unlicense",
"homepage": "https://github.com/iamogbz/jest-mock-props#readme",
"repository": {
"type": "git",
"url": "https://github.com/iamogbz/jest-mock-props"
},
"bugs": {
"url": "https://github.com/iamogbz/jest-mock-props/issues"
},
"keywords": [
"node",
"nodejs",
"jest",
"testing",
"jest-mock",
"mock",
"ci",
"package",
"npm"
],
"engines": {
"node": ">=8.0.0"
},
"peerDependencies": {
"jest": ">=24.0.0"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-typescript": "^7.24.7",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.9",
"@types/source-map": "^0.5.7",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"acorn": "^8.12.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.3",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"semantic-release": "^24.0.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-compiler-plugin": "^1.1.5"
}
}