-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
103 lines (103 loc) · 2.71 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
{
"name": "amex-jest-preset",
"description": "An opinionated Jest preset",
"version": "7.0.0",
"keywords": [
"jest",
"preset",
"amex",
"quality"
],
"main": "jest-preset.js",
"scripts": {
"test": "npm run test:lint && npm run test:unit",
"test:lint": "eslint ./ --ignore-path .gitignore --ext .js",
"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",
"prepublishOnly": "npm test"
},
"dependencies": {
"is-ci": "^1.0.10",
"mkdirp": "^0.5.1",
"strip-ansi": "6.0.1",
"xmlbuilder": "^9.0.0"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^17.3.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/commit-analyzer": "^9.0.0",
"@semantic-release/git": "^10.0.0",
"@semantic-release/github": "^8.0.0",
"@semantic-release/npm": "^9.0.0",
"@semantic-release/release-notes-generator": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-amex": "^15.3.1",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-jest-dom": "^3.9.4",
"githook-scripts": "^1.0.1",
"husky": "^4.2.3",
"jest": "^29.0.0",
"lockfile-lint": "^4.3.7",
"lodash": "^4.17.4",
"semantic-release": "^19.0.0"
},
"peerDependencies": {
"jest": ">=23.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/amex-jest-preset.git"
},
"files": [
"jest-preset.js",
"jest-setup.js",
"html-report-creator.js",
"html-report-style.js"
],
"contributors": [
"Andres Escobar",
"Jamie King <[email protected]> (https://github.com/10xLaCroixDrinker)"
],
"author": "Andres Escobar <[email protected]> (https://github.com/anescobar1991)",
"license": "Apache-2.0",
"jest": {
"preset": "./jest-preset.js",
"coveragePathIgnorePatterns": [
"<rootDir>/jest-setup.js",
"<rootDir>/commitlint.config.js"
]
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}