-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
67 lines (67 loc) · 1.86 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
{
"name": "insomnia-plugin-mastercard",
"version": "2.4.0",
"description": "An Insomnia plugin for consuming Mastercard APIs",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Mastercard/insomnia-plugin-mastercard-auth.git"
},
"bugs": {
"url": "https://github.com/Mastercard/insomnia-plugin-mastercard-auth"
},
"main": "index.js",
"insomnia": {
"name": "mastercard-auth",
"displayName": "Mastercard API",
"description": "An Insomnia plugin for consuming Mastercard APIs",
"images": {
"icon": "icon.svg"
},
"publisher": {
"name": "Mastercard Developers",
"icon": "https://mstr.cd/3BQPnFz"
}
},
"prettier": {
"printWidth": 80,
"trailingComma": "none",
"singleQuote": true
},
"scripts": {
"test": "mocha --recursive && mocha --recursive --reporter mocha-sonarqube-reporter --reporter-options output=test-results.xml",
"coverage": "nyc mocha --recursive && nyc report --reporter=text-lcov > .nyc_output/coverage.lcov",
"lint": "eslint src --ext .js",
"lint:fix": "eslint src --ext .js --fix",
"lint:report": "npm run lint -- -f checkstyle --output-file target/checkstyle.xml",
"precommit": "lint-staged"
},
"mocha": {
"timeout": "5000"
},
"lint-staged": {
"linters": {
"*.{js,jsx,json,scss}": [
"prettier --write",
"git add"
]
}
},
"dependencies": {
"mastercard-client-encryption": "^1.10.3",
"mastercard-oauth1-signer": "^1.1.7",
"node-forge": "^1.3.0"
},
"devDependencies": {
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-mocha": "^10.0.5",
"mocha": "^9.1.1",
"mocha-sonarqube-reporter": "^1.0.2",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"sinon": "^14.0.0",
"uuid": "^8.3.2"
}
}