forked from igneous-labs/sanctum-unstake-program
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.64 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
{
"dependencies": {
"@project-serum/anchor": "0.24.2"
},
"devDependencies": {
"@metaplex-foundation/mpl-token-metadata": "^2.12.0",
"@soceanfi/solana-stake-sdk": "^0.1.0",
"@solana/spl-token": "^0.2.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.0.0",
"bn.js": "^5.2.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"mocha": "^10.0.0",
"superstruct": "^0.16.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.3.5"
},
"license": "MIT",
"anchorCIImage": "soceanfi/anchor-ci-appliance:v1.9.24-v0.24.2",
"scripts": {
"build": "yarn build:local",
"build:local": "docker run --rm -it -v`pwd`:/workdir ${npm_package_anchorCIImage} /bin/bash -c \"anchor build -- --features local-testing\"",
"build:prod": "docker run --rm -it -v`pwd`:/workdir ${npm_package_anchorCIImage} /bin/bash -c \"anchor build\"",
"test": "docker run --rm -it -v`pwd`:/workdir ${npm_package_anchorCIImage} /bin/bash -c \"anchor build -- --features local-testing && ls target/deploy/*.json | xargs -I % cp program.json % && anchor test -- --features local-testing\"",
"gen-key": "./gen-key.sh",
"pre-commit-install": "wget -O pre-commit.pyz https://github.com/pre-commit/pre-commit/releases/download/v2.16.0/pre-commit-2.16.0.pyz && python3 pre-commit.pyz install && python3 pre-commit.pyz install --hook-type commit-msg && rm pre-commit.pyz",
"deploy-local": "yarn build && solana program deploy target/deploy/*.so --program-id program.json -u localhost",
"init-local": "./init-local.sh"
},
"resolutions": {
"@solana/web3.js": "1.77.3"
}
}