forked from 0xgen0/ethernal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 5.21 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
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "Ethernal-cache",
"version": "1.0.0",
"main": "src/server.js",
"repository": "https://github.com/0xgen0/Ethernal-cache",
"license": "MIT",
"scripts": {
"test": "mocha",
"start": "node src/server.js",
"debug": "cp ../webapp/contracts/development.json src/dev_contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-local-leaderboard MNEMONIC=\"walk oyster enemy scare wear enable today wire index arrow page dynamic\" cross-env DEV=true node --inspect-brk src/server.js",
"debug:staging": "cp ../webapp/contracts/staging.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-dev-leaderboard MNEMONIC='abandon tank soap whale staff shadow spy sail garlic artefact suggest volcano' ETH_URL=https://rpc-mumbai.matic.today BLOCKTIME=2 node --inspect-brk src/server.js",
"sokol": "cross-env ETH_URL=https://sokol.poa.network node src/server.js",
"dev-prod": "cp ../webapp/contracts/production.json src/dev_contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone MNEMONIC=\"walk oyster enemy scare wear enable today wire index arrow page dynamic\" DEV=true ETH_URL=https://sokol.poa.network nodemon src/server.js",
"dev": "cp ../webapp/contracts/development.json src/dev_contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-local-leaderboard MNEMONIC=\"walk oyster enemy scare wear enable today wire index arrow page dynamic\" cross-env DEV=true nodemon src/server.js",
"dev:staging": "cp ../webapp/contracts/staging.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-dev-leaderboard MNEMONIC='abandon tank soap whale staff shadow spy sail garlic artefact suggest volcano' ETH_URL=https://rpc-mumbai.matic.today BLOCKTIME=2 nodemon src/server.js",
"dev:staging:node": "cp ../webapp/contracts/staging.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-dev-leaderboard MNEMONIC='abandon tank soap whale staff shadow spy sail garlic artefact suggest volcano' ETH_URL=http://192.168.40.26:8545 BLOCKTIME=2 nodemon src/server.js",
"dev:staging:no-dagger": "cp ../webapp/contracts/staging.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-dev-leaderboard MNEMONIC='abandon tank soap whale staff shadow spy sail garlic artefact suggest volcano' ETH_URL=https://rpc-mumbai.matic.today DAGGER=disabled BLOCKTIME=2 nodemon src/server.js",
"staging": "cp ../webapp/contracts/staging.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-dev-leaderboard MNEMONIC='abandon tank soap whale staff shadow spy sail garlic artefact suggest volcano' ETH_URL=https://rpc-mumbai.matic.today BLOCKTIME=2 node src/server.js",
"dev:prod": "cp ../webapp/contracts/production.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-alpha-leaderboard ETH_URL=https://rpc-mumbai.matic.today BLOCKTIME=2 nodemon src/server.js",
"dev:prod:node": "cp ../webapp/contracts/production.json src/contractsInfo.json && cross-env PRIVILEGED_ADDRESSES=everyone LEADERBOARD=ethernal-alpha-leaderboard ETH_URL=http://192.168.40.26:8545 BLOCKTIME=2 nodemon src/server.js",
"db": "bash ./scripts/start-local-db.sh",
"db:reset": "docker rm -f ethernal-db && npm run db",
"deploy:staging": "./deploy-heroku.sh",
"deploy:staging-tmcloud": "./deploy-tmcloud.sh",
"deploy:staging2-tmcloud": "ENV=staging2 ./deploy-tmcloud.sh",
"deploy:prod": "ENV=prod APP=ethernal-cache-1 sh ./deploy-heroku.sh",
"deploy:prod1": "ENV=prod APP=ethernal-cache-1 sh ./deploy-heroku.sh",
"deploy:prod2": "ENV=prod APP=ethernal-cache-2 sh ./deploy-heroku.sh",
"deploy:prod-tmcloud": "ENV=prod ./deploy-tmcloud.sh",
"deploy:prod2-tmcloud": "ENV=prod2 ./deploy-tmcloud.sh",
"lint": "eslint --ext js .",
"prettier": "prettier"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"deepmerge": "^4.2.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.2",
"mocha": "^8.0.1",
"nodemon": "^2.0.1",
"prettier": "^2.0.5",
"request-promise": "^4.2.5",
"sharp": "^0.25.4"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@maticnetwork/eth-dagger": "0.0.3",
"@sentry/node": "^5.17.0",
"async-mutex": "^0.2.4",
"bluebird": "^3.7.2",
"cors": "^2.8.5",
"cross-env": "^7.0.0",
"dotenv": "^8.2.0",
"dynamo-light": "^1.2.0",
"ethereumjs-abi": "^0.6.8",
"ethereumjs-blockstream": "^7.0.0",
"ethereumjs-tx": "^2.1.2",
"ethereumjs-util": "^6.2.0",
"ethereumjs-vm": "^4.1.1",
"ethers": "^5.0.2",
"express": "^4.17.1",
"fast-deep-equal": "^3.1.3",
"json-diff": "^0.5.4",
"memoizee": "^0.4.14",
"moment": "^2.24.0",
"node-fetch": "^2.6.0",
"p-retry": "^4.2.0",
"pg": "^8.3.2",
"seedrandom": "^3.0.5",
"socket.io": "^2.3.0",
"taim": "^1.1.0",
"thenby": "^1.3.4",
"web3-utils": "^1.2.4"
},
"nodemonConfig": {
"ignore": [
"scripts/*"
]
}
}