1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

fix Travis

This commit is contained in:
Matthias Kretschmann 2020-01-31 18:25:39 +01:00
parent a54bcc1afb
commit 3e814b98a7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 1448 additions and 3511 deletions

4948
server/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,10 +33,10 @@
"@types/node": "^13.5.3", "@types/node": "^13.5.3",
"@types/request": "^2.48.4", "@types/request": "^2.48.4",
"@types/supertest": "^2.0.8", "@types/supertest": "^2.0.8",
"jest": "^25.1.0", "jest": "24.9.0",
"nodemon": "^2.0.2", "nodemon": "^2.0.2",
"supertest": "^4.0.2", "supertest": "^4.0.2",
"ts-jest": "^24.3.0", "ts-jest": "24.3.0",
"ts-node": "^8.6.2", "ts-node": "^8.6.2",
"typescript": "^3.7.5" "typescript": "^3.7.5"
}, },
@ -46,6 +46,10 @@
}, },
"jest": { "jest": {
"preset": "ts-jest", "preset": "ts-jest",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [ "collectCoverageFrom": [
"src/**/*.{ts,tsx}" "src/**/*.{ts,tsx}"
] ]

View File

@ -2,7 +2,7 @@ import 'dotenv/config'
const config = { const config = {
app: { port: 4000 }, app: { port: 4000 },
sendgridApiKey: process.env.SENDGRID_API_KEY, sendgridApiKey: process.env.SENDGRID_API_KEY || '',
ipfsGatewayUri: process.env.IPFS_GATEWAY_URI || 'https://gateway.ipfs.io' ipfsGatewayUri: process.env.IPFS_GATEWAY_URI || 'https://gateway.ipfs.io'
} }

View File

@ -1,5 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"strict": true,
"module": "commonjs", "module": "commonjs",
"esModuleInterop": true, "esModuleInterop": true,
"resolveJsonModule": true, "resolveJsonModule": true,