This repository was archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 4.82 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 4.82 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "bitcoin-computer-node",
"version": "0.8.0-beta",
"private": false,
"description": "",
"keywords": [
"Bitcoin",
"Smart Contracts",
"Javascript"
],
"contributors": [
"Clemens Ley"
],
"main": "src/bcn.cjs.js",
"repository": "bitcoin-computer/bitcoin-computer-node",
"author": "Clemens Ley",
"license": "CC-BY-ND-4.0",
"bugs": {
"url": "https://github.com/bitcoin-computer/bitcoin-computer-node/issues"
},
"homepage": "https://github.com/bitcoin-computer/bitcoin-computer-node#readme",
"dependencies": {
"bitcoin-computer-bitcore": "0.1.24",
"bitcoin-computer-lib": "0.8.0-beta",
"bitcoind-rpc": "^0.9.1",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"elliptic": "^6.5.3",
"express": "^4.17.1",
"express-rate-limit": "^6.2.0",
"hash.js": "^1.1.7",
"pg-monitor": "^1.4.0",
"pg-promise": "^10.11.1",
"winston": "^3.3.3",
"zeromq": "^6.0.0-beta.6"
},
"devDependencies": {
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@types/elliptic": "^6.4.12",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"axios": "^0.27.2",
"eslint": "^8.7.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-disable": "^2.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^28.0.3",
"jest-mock": "^28.0.2",
"jest-when": "^3.0.1",
"mock-express-request": "^0.2.2",
"mock-express-response": "^0.3.0",
"nodemon": "^2.0.6",
"prettier": "^2.1.2",
"rollup": "^2.36.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"ts-jest": "^28.0.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
},
"scripts": {
"start": "yarn start-dist",
"start-dist": "node $(grep SRC_ENTRY .package.paths | cut -d '=' -f2)",
"start-test-ltc": ". scripts/development-setup.sh && start_test_ltc",
"start-test-btc": ". scripts/development-setup.sh && start_test_btc",
"sync": "$(grep SYNC_START .package.paths | cut -d '=' -f2)",
"deploy": "yarn dist-clean && yarn build && yarn node-clean && yarn cp-files-script",
"cp-files-script": "./scripts/cp-files.sh",
"node-clean": "./scripts/node-clean.sh",
"dist-clean": "rm -rf dist",
"build": "rollup -c",
"build-docker": "docker build -t bitcoin-computer-node .",
"docker-hub-push": ". scripts/docker-setup.sh && docker_hub_push",
"bitcoin-cli-ltc-regtest": ". scripts/bitcoin-cli-setup.sh && bitcoin_cli_ltc_regtest",
"bitcoin-cli-btc-regtest": ". scripts/bitcoin-cli-setup.sh && bitcoin_cli_btc_regtest",
"docker-context-use": ". scripts/aws-setup.sh && docker_context_use",
"docker-install": ". scripts/docker-setup.sh && docker_install",
"docker-volume-rm-local": ". scripts/docker-setup.sh && docker_volume_remove_local",
"docker-volume-rm-aws": ". scripts/docker-setup.sh && docker_volume_remove_aws",
"prod-btc-regtest": "docker compose -f docker-compose.yml -f chain-setup/btc-regtest/docker-compose-local-btc-regtest.yml",
"prod-btc-testnet": "docker compose -f docker-compose.yml -f chain-setup/btc-testnet/docker-compose-local-btc-testnet.yml",
"prod-ltc-testnet": ". scripts/aws-config.sh && aws_secret_export && docker compose -f docker-compose.yml -f chain-setup/ltc-testnet/docker-compose-local-ltc-testnet.yml",
"prod-ltc-regtest": "docker compose -f docker-compose.yml -f chain-setup/ltc-regtest/docker-compose-local-ltc-regtest.yml",
"dev-ltc-regtest-up": "yarn prod-ltc-regtest up db & yarn prod-ltc-regtest up litecoind & yarn start-test-ltc &",
"dev-ltc-regtest-down": "yarn prod-ltc-regtest down",
"aws-login": ". scripts/aws-config.sh && aws_login",
"aws-ltc-testnet": ". scripts/aws-setup.sh && aws_ltc_testnet",
"aws-push-bcn-image": "exec bash -c '. scripts/aws-setup.sh && aws_push_bcn_image'",
"aws-ecr-login": "exec bash -c '. scripts/aws-setup.sh && aws_ecr_login'",
"aws-tag": ". scripts/aws-setup.sh && aws_tag",
"test": "yarn test-ltc",
"test-ltc": ". scripts/jest-setup.sh && test_ltc",
"test-btc": ". scripts/jest-setup.sh && test_btc",
"test-aws": ". scripts/jest-setup.sh && test_aws",
"clean": "rm -rf ./dist",
"lint": "eslint src test",
"lint-fix": "eslint src test --fix",
"reset": "yes | ./scripts/reset.sh",
"types": "tsc -p tsconfig.json",
"test-unit": "jest --config ./jest.unit.config.json",
"clean-ltc-data": "rm -rf ./chain-setup/ltc-regtest/blockchain-data && rm -rf ./chain-setup/ltc-regtest/db-data",
"fund-ltc": "./chain-setup/ltc-regtest/topup-test-wallets.sh",
"prepare": "husky install",
"validate-branch": ". scripts/validate-branch.sh && validate_branch"
}
}