-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.74 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 2.74 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
{
"name": "@aws-amplify/amplify-codegen-e2e-tests",
"version": "2.45.5",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-codegen.git",
"directory": "packages/amplify-codegen-e2e-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",
"e2e-gen2": "jest --verbose --forceExit",
"setup-profile": "ts-node ./src/configure_tests.ts",
"clean-e2e-resources": "ts-node ./src/cleanup-e2e-resources.ts"
},
"dependencies": {
"@aws-amplify/amplify-codegen-e2e-core": "1.6.6",
"@aws-amplify/graphql-schema-test-library": "^3.0.0",
"amazon-cognito-identity-js": "^6.3.6",
"aws-amplify": "^5.3.3",
"aws-appsync": "^4.1.9",
"aws-sdk": "^2.1413.0",
"dotenv": "^8.2.0",
"esm": "^3.2.25",
"fs-extra": "^8.1.0",
"graphql-tag": "^2.10.1",
"js-yaml": "^4.0.0",
"lodash": "^4.17.19",
"node-fetch": "^3.3.2",
"uuid": "^3.4.0",
"ws": "^8.14.2",
"yargs": "^15.1.0"
},
"devDependencies": {
"@aws-amplify/backend": "^1.0.0",
"@types/jest": "^27.0.0",
"graphql": "^15.8.0",
"ts-node": "^8.10.1"
},
"peerDependencies": {
"@aws-amplify/amplify-cli-core": "^4.3.11",
"graphql-transformer-core": "^8.0.0"
},
"jest": {
"verbose": false,
"preset": "ts-jest",
"testRunner": "@aws-amplify/amplify-codegen-e2e-core/runner",
"testEnvironment": "@aws-amplify/amplify-codegen-e2e-core/environment",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testURL": "http://localhost",
"testRegex": "(src/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"/node_modules/",
"lib"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/codegen-tests-base/*.ts",
"!**/node_modules/**",
"!src/__tests__/**",
"!**/*.d.ts"
],
"reporters": [
"default",
"jest-junit",
[
"@aws-amplify/amplify-codegen-e2e-core/reporter",
{
"publicPath": "./amplify-e2e-reports",
"filename": "index.html",
"expand": true
}
]
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setup-tests.ts"
],
"globals": {
"window": {},
"ts-jest": {
"diagnostics": false
}
}
},
"jest-junit": {
"outputDirectory": "reports/junit/",
"outputName": "js-test-results.xml",
"usePathForSuiteName": "true",
"addFileAttribute": "true"
}
}