-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 2.11 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
{
"name": "exchange-booth",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "ts-node src/client/main.ts",
"mints:keys": "solana-keygen new -o dist/keys/mint_a.so --no-bip39-passphrase --force; solana-keygen new -o dist/keys/mint_b.so --no-bip39-passphrase --force;",
"user:keys": "solana-keygen new -o dist/keys/user.so --no-bip39-passphrase --force;",
"program:deploy": "solana program deploy dist/program/exchange_booth.so",
"program:build": "cargo build-bpf --manifest-path=./src/program/Cargo.toml --bpf-out-dir=dist/program",
"program:redeploy": "npm run program:build && npm run program:deploy",
"client:prepare": "rm -rf dist/keys && npm run mints:keys && npm run user:keys && npm run start -- --user:airdrop && npm run start -- --mints:create && npm run start -- --tokens:create",
"client:run-all": "npm run start -- --ix=0 && npm run start -- --ix=1 && npm run start -- --ix=3 && npm run start -- --ix=4 && npm run start -- --ix=2",
"client:cycle": "npm run client:prepare && npm run client:run-all && npm run start -- --tokens:clear",
"booth:cycle": "rm -rf dist/program && npm run program:redeploy && npm run client:cycle",
"test": "cargo test --manifest-path=./src/program/Cargo.toml"
},
"dependencies": {
"@solana/spl-token": "^0.2.0",
"@solana/web3.js": "^1.37.0",
"borsh": "^0.7.0",
"mz": "^2.7.0",
"yaml": "^1.10.2"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.1",
"@types/bn.js": "^5.1.0",
"@types/eslint": "^8.2.2",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/mz": "^2.7.2",
"@types/prettier": "^2.1.5",
"@types/yaml": "^1.9.7",
"@types/yargs": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "2.6.2",
"start-server-and-test": "^1.11.6",
"ts-node": "^10.0.0",
"typescript": "^4.0.5",
"yargs": "^17.4.1"
},
"engines": {
"node": ">=14.0.0"
},
"author": "",
"license": "ISC"
}