Skip to content

Commit 73f74b3

Browse files
committed
chore(deps): install required deps
1 parent c888a60 commit 73f74b3

6 files changed

+1028
-17
lines changed

.env.example

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BUCKET_NAME =
2+
ACCESS_KEY_ID =
3+
SECRET_ACCESS_KEY =
4+
REGION = 'us-east-1'

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ types.js.map
1818
!tests/*
1919
!lib/*
2020
logs/
21-
**/*.log
21+
**/*.log
22+
.env

jest.config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ export default {
44
coverageDirectory: "coverage",
55
coverageProvider: "v8",
66
preset: "ts-jest",
7+
displayName: "unit",
8+
testMatch: ["**/*.spec.ts"],
79
};

jest.e2e.config.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
};

package.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"author": "Alessandro Dev",
88
"scripts": {
99
"test": "jest --runInBand --silent",
10+
"test:e2e": "env-cmd jest --runInBand --forceExit --config jest.e2e.config.ts",
1011
"test:verbose": "jest --runInBand",
1112
"prebuild": "rimraf ./dist && npm run check:circular-deps && ./clear.sh",
1213
"postbuild": "cp -r ./dist/* ./",
@@ -16,10 +17,10 @@
1617
"check:circular-deps": "madge --circular --extensions ts ./lib"
1718
},
1819
"devDependencies": {
19-
"@types/axios": "^0.14.0",
2020
"@types/express": "^4.17.16",
2121
"@types/jest": "^29.4.0",
2222
"@types/node": "^18.11.18",
23+
"env-cmd": "^10.1.0",
2324
"jest": "^29.4.1",
2425
"madge": "^6.0.0",
2526
"rimraf": "^4.1.2",
@@ -29,8 +30,9 @@
2930
},
3031
"peerDependencies": {
3132
"@types/express": "^4.17.16",
33+
"axios": "^1.3.2",
3234
"express": "^4.18.2",
33-
"@types/axios": "^0.14.0"
35+
"@aws-sdk/client-s3": "^3.264.0"
3436
},
3537
"repository": {
3638
"type": "git",
@@ -65,5 +67,8 @@
6567
"types.d.ts.map",
6668
"types.js.map"
6769
],
68-
"dependencies": {}
70+
"dependencies": {
71+
"axios": "^1.3.2",
72+
"@aws-sdk/client-s3": "^3.264.0"
73+
}
6974
}

0 commit comments

Comments
 (0)