-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.37 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
{
"name": "planet-commercetools-connector",
"version": "1.0.1",
"description": "The connector between Datatrans and ConnerceTools to hide Datatrans from the consumer",
"main": "index.js",
"scripts": {
"lint": "eslint \"app/**/*.ts\" \"test/**/*.ts\"",
"ci:lint": "eslint \"app/**/*.ts\" \"test/**/*.ts\" --format json --output-file coverage/lint-result.json",
"transpile": "tsc",
"clean": "rm -rf dist",
"build": "npm run clean && npm run transpile",
"test:base": "cross-env NODE_ENV=test STAGE=local-dev jest --runInBand --coverage",
"test": "cross-env LOG_LEVEL=silent npm run test:base -- --verbose",
"test:local-dev:all": "npm run lint && cross-env npm run test:base -- --silent=false --verbose",
"test:local-dev:file": "cross-env npm run test:base -- --silent=false --verbose --coverage=false",
"test:ci:sonar": "cross-env NODE_ENV=test STAGE=local-dev jest --verbose --runInBand --coverage --reportPath=coverage --reportFile=text-report.xml --indent=4 --testResultsProcessor jest-sonar-reporter",
"prepare": "husky install"
},
"keywords": [
"Datatrans",
"CommerceTools",
"Planet Payment"
],
"author": "Planet",
"license": "MIT",
"dependencies": {
"@commercetools/platform-sdk": "^2.8.0",
"@commercetools/sdk-client-v2": "^1.4.0",
"axios": "^0.27.2",
"http-status-code-const-enum": "^1.0.2",
"husky": "^8.0.1",
"node-fetch": "^2.6.7",
"pino": "^8.0.0",
"uuid": "^8.3.2",
"yup": "^0.32.11"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.99",
"@types/jest": "^28.1.1",
"@types/jest-when": "^3.5.2",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^17.0.40",
"@types/node-fetch": "^2.6.2",
"@types/pino": "^7.0.5",
"@types/uuid": "^8.3.4",
"@types/yup": "^0.29.14",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"aws-sdk": "^2.1150.0",
"cross-env": "^7.0.3",
"eslint": "^8.17.0",
"jest": "^28.1.0",
"jest-sonar-reporter": "^2.0.0",
"jest-when": "^3.5.1",
"lint-staged": "^13.0.1",
"lodash.merge": "^4.6.2",
"pino-pretty": "^8.0.0",
"ts-jest": "^28.0.4",
"ts-node-dev": "^2.0.0",
"typescript": "^4.7.3"
},
"lint-staged": {
"*.ts": "npm run lint"
},
"jestSonar": {
"reportPath": "coverage",
"reportFile": "test-report.xml",
"indent": 4
}
}