-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
108 lines (108 loc) · 4.23 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "solanaupload",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/mcf-rocks/solanaupload"
},
"keywords": [],
"author": "",
"license": "MIT",
"testnetDefaultChannel": "v1.3.4",
"scripts": {
"update_docker": "solana-localnet update",
"start_docker": ". start_docker",
"start_docker_normal": ". start_docker_normal",
"stop_docker": ". stop_docker",
"solana_logs": "solana-localnet logs -f",
"localnet_up": "set -x; solana-localnet down; set -e; solana-localnet up",
"localnet_down": "solana-localnet down",
"slot": "babel-node src/client/slot.js",
"keypair": "babel-node src/client/keypair.js",
"balance": "babel-node src/client/balance.js",
"airdrop": "babel-node src/client/airdrop.js",
"dump": "babel-node src/client/dump.js",
"build_upload": "cargo update --manifest-path=src/upload-rust/Cargo.toml && ./src/upload-rust/do.sh build && rm -rf store/upload.json",
"test_upload": "./src/upload-rust/do.sh test",
"clean_upload": "./src/upload-rust/do.sh clean && rm -rf store/upload.json",
"deploy_upload": "babel-node src/client/deploy_upload.js",
"upload_file": "babel-node src/client/upload_file.js",
"download_file": "babel-node src/client/download_file.js",
"clean_all": "./src/upload-rust/do.sh clean && rm -rf store/upload.json",
"cluster_local": "npm run clean_all && rm -fr .env",
"cluster_devnet": "npm run clean_all && cp ./env/cluster-devnet.env .env",
"cluster_testnet": "npm run clean_all && cp ./env/cluster-testnet.env .env",
"cluster_testnet4XW": "npm run clean_all && cp ./env/cluster-testnet4XW.env .env",
"cluster_mainnet": "npm run clean_all && cp ./env/cluster-mainnet-beta.env .env",
"lint": "npm run pretty && eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:watch": "watch 'npm run lint:fix' . --wait=1",
"flow": "flow",
"flow:watch": "watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",
"bpf-sdk:update": "solana-bpf-sdk-install node_modules/@solana/web3.js && npm run clean_all",
"clean:store": "rm -rf store",
"cluster:localnet": "npm run clean:store && rm -f .env",
"cluster:devnet": "npm run clean:store && cp cluster-devnet.env .env",
"cluster:testnet": "npm run clean:store && cp cluster-testnet.env .env",
"cluster:mainnet-beta": "npm run clean:store && cp cluster-mainnet-beta.env .env",
"localnet:update": "solana-localnet update",
"localnet:up": "set -x; solana-localnet down; set -e; solana-localnet up",
"localnet:down": "solana-localnet down",
"localnet:logs": "solana-localnet logs -f",
"pretty": "prettier --write '{,src/**/}*.js'",
"postinstall": "npm run bpf-sdk:update && cargo update --manifest-path=src/upload-rust/Cargo.toml"
},
"devDependencies": {
"prettier": "^2.1.1"
},
"dependencies": {
"@solana/web3.js": "^0.71.9",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^7.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-runtime": "^6.26.0",
"bn.js": "^5.1.3",
"body-parser": "^1.18.3",
"buffer-layout": "^1.2.0",
"css-loader": "^3.6.0",
"dotenv": "8.2.0",
"eslint": "^6.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^7.20.6",
"event-emitter": "^0.3.5",
"express": "^4.16.4",
"file-type": "^15.0.0",
"flow-bin": "0.122.0",
"flow-typed": "^3.2.1",
"http-server": "^0.12.3",
"jayson": "^3.3.4",
"json-to-pretty-yaml": "^1.2.2",
"mkdirp-promise": "^5.0.1",
"moment": "^2.27.0",
"mz": "^2.7.0",
"node-fetch": "^2.2.0",
"react": "^16.5.2",
"react-bootstrap": "^1.3.0",
"react-dom": "^16.5.2",
"readline-promise": "^1.0.3",
"semver": "^7.3.2",
"superstruct": "^0.8.4",
"watch": "^1.0.2",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"engines": {
"node": "11.x"
}
}