forked from rijulraj3/redstone-oracles-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 4 KB
/
package.json
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
{
"name": "@redstone-finance/oracles-monorepo",
"version": "0.0.2",
"description": "",
"main": "index.js",
"scripts": {
"build-all": "yarn workspaces foreach -Ap --topological-dev run build",
"lint-all": "yarn workspaces foreach -Ap --topological-dev run lint",
"test": "echo \"Error: no test specified\" && exit 1",
"version:all": "lerna version --force-publish",
"publish:all": "lerna publish",
"syncpack:fix-mismatches": "syncpack fix-mismatches --types !local",
"syncpack:list": "syncpack list-mismatches --types !local",
"lint-yarn-lock": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com --allowed-schemes \"https:\" \"git+https:\" \"npm:\" \"workspace:\" \"patch:\"",
"global:eslint": "cd $INIT_CWD && eslint",
"global:jest": "cd $INIT_CWD && jest",
"global:jest:cov": "cd $INIT_CWD && jest --json --coverage --testLocationInResults --outputFile=coverage/report.json",
"global:prettier": "cd $INIT_CWD && prettier",
"global:rollup": "cd $INIT_CWD && rollup",
"global:ts-node": "cd $INIT_CWD && ts-node",
"global:tsc": "cd $INIT_CWD && tsc",
"global:lambda-build": "cd $INIT_CWD && tsc --build tsconfig.build.json && esbuild $INDEX_PATH --bundle --minify --sourcemap --platform=node --target=es2022 --outfile=lambda-dist/index.js",
"global:lambda-zip": "cd $INIT_CWD && cd lambda-dist && zip -r build.zip index.js*",
"global:lambda-pushToBucket": "cd $INIT_CWD && aws s3api put-object --bucket $BUCKET_NAME --key $PACKAGE_NAME.$(git log -1 --format=%h --abbrev=8).zip --body ./lambda-dist/build.zip && echo \"S3 object: $PACKAGE_NAME.$(git log -1 --format=%h --abbrev=8).zip\"",
"global:lambda-pushDevIreland": "cd $INIT_CWD && BUCKET_NAME=redstone-lambdas-eu-west-1 yarn global:lambda-pushToBucket",
"global:lambda-pushProdIreland": "cd $INIT_CWD && BUCKET_NAME=redstone-lambdas-prod-eu-west-1 yarn global:lambda-pushToBucket",
"global:lambda-pushProdLondon": "cd $INIT_CWD && BUCKET_NAME=redstone-lambdas-prod-eu-west-2 yarn global:lambda-pushToBucket",
"global:lambda-pushProdParis": "cd $INIT_CWD && BUCKET_NAME=redstone-lambdas-prod-eu-north-1 yarn global:lambda-pushToBucket",
"global:lambda-pushProdStockholm": "cd $INIT_CWD && BUCKET_NAME=redstone-lambdas-prod-eu-west-3 yarn global:lambda-pushToBucket",
"global:lambda-pushDev": "cd $INIT_CWD && yarn global:lambda-pushDevIreland",
"global:lambda-pushProd": "cd $INIT_CWD && yarn global:lambda-pushProdIreland",
"global:lambda-pushProdAllRegions": "cd $INIT_CWD && yarn global:lambda-pushProdIreland & yarn global:lambda-pushProdLondon & yarn global:lambda-pushProdParis & yarn global:lambda-pushProdStockholm && wait",
"global:object-pushToBucket": "cd $INIT_CWD && aws s3api put-object --bucket $BUCKET_NAME --key $KEY_NAME --body $FILENAME"
},
"keywords": [],
"author": "hatskier <[email protected]> (https://hatskier.com/)",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.4",
"@types/jest": "^29.5.4",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"esbuild": "^0.19.9",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-workspaces": "^0.10.0",
"javascript-obfuscator": "^4.1.0",
"jest": "^29.7.0",
"lerna": "^7.3.0",
"lockfile-lint": "^4.13.2",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"redstone-prettier-config": "^1.0.0",
"rollup": "^3.29.4",
"rollup-obfuscator": "^4.0.0",
"syncpack": "^11.2.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"packageManager": "[email protected]"
}