-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.72 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": "connect-sdk-nodejs",
"version": "5.4.0",
"description": "SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API",
"homepage": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs#readme",
"bugs": {
"url": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs/issues"
},
"license": "SEE LICENSE IN LICENSE.txt",
"author": "Worldline Global Collect",
"files": [
"lib",
"schemas"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Worldline-Global-Collect/connect-sdk-nodejs.git"
},
"scripts": {
"compile": "tsc",
"lint": "eslint ./src --ext .ts",
"format": "prettier --write \"**/*.+(json|ts|tsx)\"",
"format:check": "prettier --check \"**/*.+(json|ts|tsx)\"",
"typedoc": "typedoc",
"build": "npm run format:check && npm run lint && npm run compile",
"test": "jest",
"test:unit": "jest --group=unit",
"test:integration": "jest --group=integration"
},
"dependencies": {
"dateformat": "^4.6.3",
"form-data": "^4.0.0",
"jsonschema": "^1.4.1",
"lodash": "^4.17.21",
"secure-compare": "^3.0.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/dateformat": "^3.0.1",
"@types/express": "^4.17.21",
"@types/jest": "^28.1.8",
"@types/lodash": "^4.14.202",
"@types/node": "^12.20.55",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"body-parser": "^1.20.3",
"eslint": "^7.32.0",
"express": "^4.21.0",
"husky": "^4.3.8",
"jest": "^28.1.3",
"jest-junit": "^16.0.0",
"jest-runner-groups": "^2.2.0",
"nock": "^13.5.3",
"prettier": "^1.19.1",
"supertest": "^6.3.4",
"ts-jest": "^28.0.8",
"typedoc": "^0.22.18",
"typescript": "^4.7.4"
},
"engines": {
"node": ">=12"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
]
},
"prettier": {
"printWidth": 180
},
"husky": {
"hooks": {
"pre-commit": "npm run format:check && npm run lint"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"runner": "groups",
"reporters": [
"default",
"jest-junit"
],
"testPathIgnorePatterns": [
"__tests__/integration/init.ts"
]
},
"jest-junit": {
"includeShortConsoleOutput": "true"
}
}