File tree 6 files changed +1028
-17
lines changed
6 files changed +1028
-17
lines changed Original file line number Diff line number Diff line change
1
+ BUCKET_NAME =
2
+ ACCESS_KEY_ID =
3
+ SECRET_ACCESS_KEY =
4
+ REGION = ' us-east-1'
Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ types.js.map
18
18
! tests /*
19
19
! lib /*
20
20
logs /
21
- ** /* .log
21
+ ** /* .log
22
+ .env
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ export default {
4
4
coverageDirectory : "coverage" ,
5
5
coverageProvider : "v8" ,
6
6
preset : "ts-jest" ,
7
+ displayName : "unit" ,
8
+ testMatch : [ "**/*.spec.ts" ] ,
7
9
} ;
Original file line number Diff line number Diff line change
1
+ export default {
2
+ clearMocks : true ,
3
+ collectCoverage : true ,
4
+ coverageDirectory : "coverage" ,
5
+ coverageProvider : "v8" ,
6
+ preset : "ts-jest" ,
7
+ displayName : "e2e" ,
8
+ testMatch : [ "**/*.e2e.ts" ] ,
9
+ } ;
Original file line number Diff line number Diff line change 7
7
"author" : " Alessandro Dev" ,
8
8
"scripts" : {
9
9
"test" : " jest --runInBand --silent" ,
10
+ "test:e2e" : " env-cmd jest --runInBand --forceExit --config jest.e2e.config.ts" ,
10
11
"test:verbose" : " jest --runInBand" ,
11
12
"prebuild" : " rimraf ./dist && npm run check:circular-deps && ./clear.sh" ,
12
13
"postbuild" : " cp -r ./dist/* ./" ,
16
17
"check:circular-deps" : " madge --circular --extensions ts ./lib"
17
18
},
18
19
"devDependencies" : {
19
- "@types/axios" : " ^0.14.0" ,
20
20
"@types/express" : " ^4.17.16" ,
21
21
"@types/jest" : " ^29.4.0" ,
22
22
"@types/node" : " ^18.11.18" ,
23
+ "env-cmd" : " ^10.1.0" ,
23
24
"jest" : " ^29.4.1" ,
24
25
"madge" : " ^6.0.0" ,
25
26
"rimraf" : " ^4.1.2" ,
29
30
},
30
31
"peerDependencies" : {
31
32
"@types/express" : " ^4.17.16" ,
33
+ "axios" : " ^1.3.2" ,
32
34
"express" : " ^4.18.2" ,
33
- "@types/axios " : " ^0.14 .0"
35
+ "@aws-sdk/client-s3 " : " ^3.264 .0"
34
36
},
35
37
"repository" : {
36
38
"type" : " git" ,
65
67
" types.d.ts.map" ,
66
68
" types.js.map"
67
69
],
68
- "dependencies" : {}
70
+ "dependencies" : {
71
+ "axios" : " ^1.3.2" ,
72
+ "@aws-sdk/client-s3" : " ^3.264.0"
73
+ }
69
74
}
You can’t perform that action at this time.
0 commit comments