From 0d71a5dbe7b6c4002aee1bc5dab2aa752c46f87f Mon Sep 17 00:00:00 2001 From: Farrukh Jadoon Date: Fri, 29 Sep 2023 20:27:21 -0400 Subject: [PATCH] Update package.json --- package.json | 94 ++++++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 51 deletions(-) diff --git a/package.json b/package.json index bd367be..d5c653e 100644 --- a/package.json +++ b/package.json @@ -1,57 +1,49 @@ { - "name": "test-project", - "version": "0.0.4", + "name": "price-server", + "private": true, + "version": "1.0.0", "scripts": { - "start": "node index.js", - "test": "echo \"Error: no test specified\" && exit 1" - }, - "dependencies": { - "@isaacs/import-jsx": "^4.0.1", - "@types/react": "^17.0.52", - "chokidar": "^3.3.0", - "findit": "^2.0.0", - "foreground-child": "^2.0.0", - "fs-exists-cached": "^1.0.0", - "glob": "^7.2.3", - "ink": "^3.2.0", - "isexe": "^2.0.0", - "istanbul-lib-processinfo": "^2.0.3", - "jackspeak": "^1.4.2", - "libtap": "^1.4.0", - "minipass": "^3.3.4", - "mkdirp": "^1.0.4", - "nyc": "^15.1.0", - "opener": "^1.5.1", - "react": "^17.0.2", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.6", - "source-map-support": "^0.5.16", - "tap-mocha-reporter": "^5.0.3", - "tap-parser": "^11.0.2", - "tap-yaml": "^1.0.2", - "tcompare": "^5.0.7", - "treport": "^3.0.4", - "@typescript-eslint/eslint-plugin": "4:33.0", - "coveralls": "3.1.1" + "deploy:prod": "sls deploy --stage prod", + "format": "prettier --write \"src/**/*.ts\"", + "serve": "node --max-old-space-size=8192 node_modules/serverless/bin/serverless offline start", + "test": "jest", + "test:watch": "jest --watch", + "postinstall": "cp patches/geturl.js node_modules/@ethersproject/providers/node_modules/@ethersproject/web/lib.esm/geturl.js", + "build": "sls webpack" }, "devDependencies": { - "@types/chai": "^4.2.18", - "@types/mocha": "^8.2.2", - "@typescript-eslint/eslint-plugin": "^5.53.0", - "@typescript-eslint/parser": "^5.53.0", - "chai": "^4.3.4", - "clean-webpack-plugin": "^4.0.0-alpha.0", - "copy-webpack-plugin": "^8.1.1", - "eslint": "^7.27.0", - "eslint-config-prettier": "^8.5.0", - "eslint-webpack-plugin": "^2.5.4", - "mocha": "^10.0.0", - "nodemon-webpack-plugin": "^4.5.2", - "prettier": "^2.7.1", - "ts-loader": "^9.1.2", - "ts-node": "^10.8.1", - "typescript": "^4.9.5", - "webpack": "^5.37.0", - "webpack-cli": "^4.9.1" + "@babel/core": "^7.13.10", + "@babel/preset-env": "^7.13.12", + "@babel/preset-typescript": "^7.13.0", + "@types/aws-lambda": "^8.10.72", + "@types/jest": "^26.0.21", + "@types/node": "^14.14.35", + "@types/node-fetch": "^2.5.10", + "aws-sdk": "^2.1048.0", + "babel-core": "^6.26.3", + "babel-jest": "^26.6.3", + "babel-loader": "^8.2.2", + "electron": "^12.0.1", + "jest": "^26.6.3", + "nodemon": "^2.0.7", + "prettier": "^2.2.1", + "serverless": "^2.31.0", + "serverless-offline": "^7.0.0", + "serverless-plugin-log-retention": "^2.0.0", + "serverless-prune-plugin": "^1.4.4", + "ts-loader": "^8.0.18", + "ts-node": "^9.1.1", + "typescript": "^4.2.3", + "webpack": "^5.27.2" + }, + "dependencies": { + "@defillama/sdk": "^2.3.32", + "@ethersproject/bignumber": "^5.5.0", + "@sentry/serverless": "6.2.3", + "@sentry/tracing": "6.2.3", + "dotenv": "^8.2.0", + "ethers": "^5.4.6", + "node-fetch": "^2.6.1", + "serverless-webpack": "^5.6.0" } }