-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.41 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "amplify-graphql-api-construct-tests",
"version": "1.14.1",
"description": "E2e test suite",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-category-api.git",
"directory": "packages/amplify-graphql-api-construct-tests"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"main": "index.js",
"keywords": [
"graphql",
"appsync",
"aws"
],
"private": true,
"scripts": {
"e2e": "npm run setup-profile && jest --verbose --forceExit",
"setup-profile": "ts-node ../amplify-e2e-tests/src/configure_tests.ts",
"build-tests": "tsc --build tsconfig.tests.json"
},
"dependencies": {
"@aws-amplify/auth-construct": "^1.0.0",
"@aws-amplify/core": "^2.1.0",
"@aws-amplify/graphql-api-construct": "1.19.1",
"@aws-sdk/client-appsync": "3.624.0",
"@aws-sdk/client-cloudformation": "3.624.0",
"@aws-sdk/client-cloudwatch-logs": "3.624.0",
"@aws-sdk/client-cognito-identity-provider": "3.624.0",
"@aws-sdk/client-dynamodb": "3.624.0",
"@aws-sdk/client-lambda": "3.624.0",
"@aws-sdk/client-rds": "3.624.0",
"@aws-sdk/client-ssm": "3.624.0",
"@aws-sdk/client-sts": "3.624.0",
"@faker-js/faker": "^8.2.0",
"amplify-category-api-e2e-core": "5.0.7",
"aws-amplify": "^4.2.8",
"aws-appsync": "^4.1.1",
"fs-extra": "^8.1.0",
"generate-password": "~1.7.0",
"graphql": "^15.5.0",
"node-fetch": "^2.6.7",
"ws": "^8.18.0"
},
"peerDependencies": {
"@aws-amplify/amplify-cli-core": "^4.3.9"
},
"devDependencies": {
"@aws-amplify/graphql-transformer-core": "3.4.1",
"@aws-amplify/graphql-transformer-interfaces": "4.2.4",
"@aws-amplify/graphql-validate-transformer": "1.1.1",
"@types/node": "^18.0.0",
"aws-cdk-lib": "2.187.0",
"constructs": "10.3.0",
"ts-node": "^8.10.2"
},
"jest": {
"verbose": false,
"preset": "ts-jest",
"testRunner": "amplify-category-api-e2e-core/runner",
"testEnvironment": "amplify-category-api-e2e-core/environment",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"diagnostics": false
}
]
},
"testEnvironmentOptions": {
"url": "http://localhost"
},
"testRegex": "(src/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"/node_modules/",
"lib"
],
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.ts"
],
"reporters": [
"default",
"jest-junit",
[
"amplify-category-api-e2e-core/reporter",
{
"publicPath": "./amplify-e2e-reports",
"filename": "index.html",
"expand": true
}
],
[
"amplify-category-api-e2e-core/failed-test-reporter",
{
"publicPath": "./amplify-e2e-reports",
"reportPath": "./amplify-e2e-reports/amplify-e2e-failed-test.txt"
}
]
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"window": {}
},
"coveragePathIgnorePatterns": [
"/__tests__/",
"/node_modules/"
],
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
}
},
"jest-junit": {
"outputDirectory": "reports/junit/",
"outputName": "js-test-results.xml",
"usePathForSuiteName": "true",
"addFileAttribute": "true"
}
}