-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
96 lines (96 loc) · 2.49 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
{
"name": "amex-jest-preset-react",
"description": "An opinionated Jest preset for React modules",
"version": "9.0.0",
"keywords": [
"jest",
"preset",
"amex",
"react",
"quality"
],
"main": "jest-preset.js",
"contributors": [
"Andres Escobar",
"Jamie King <Jamie.King@aexp.com> (https://github.com/10xLaCroixDrinker)"
],
"author": "Andres Escobar <andres.escobar@aexp.com> (https://github.com/anescobar1991)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/amex-jest-preset-react.git"
},
"files": [
"jest-setup.js",
"jest-preset.js"
],
"scripts": {
"test": "npm run test:unit",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"test:git-history": "commitlint --from origin/main --to HEAD",
"test:unit": "jest",
"posttest": "npm run test:lockfile && npm run test:git-history"
},
"jest": {
"preset": "amex-jest-preset",
"coveragePathIgnorePatterns": [
"<rootDir>/jest-setup.js",
"<rootDir>/commitlint.config.js"
]
},
"dependencies": {
"@testing-library/jest-dom": "^6.4.2",
"amex-jest-preset": "^7.0.0",
"identity-obj-proxy": "^3.0.0",
"whatwg-fetch": "^3.6.2"
},
"peerDependencies": {
"jest": ">=24.0.0",
"react": "^17.0.2||^18.2.0",
"react-dom": "^17.0.2||^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.1.1",
"@semantic-release/npm": "^7.0.6",
"@semantic-release/release-notes-generator": "^9.0.1",
"husky": "^3.1.0",
"jest": ">=24.0.0",
"lockfile-lint": "^4.3.7",
"semantic-release": "^17.1.2"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}