Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.53 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.53 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
{
"name": "helloworld",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/solana-labs/example-helloworld"
},
"keywords": [],
"author": "",
"license": "MIT",
"testnetDefaultChannel": "v1.3.17",
"scripts": {
"start": "ts-node src/client/main.ts",
"lint": "eslint --ext .ts src/client/* && prettier --check \"src/client/**/*.ts\"",
"lint:fix": "eslint --ext .ts src/client/* --fix && prettier --write \"src/client/**/*.ts\"",
"bpf-sdk:update": "solana-bpf-sdk-install node_modules/@solana/web3.js && npm run clean",
"clean": "npm run clean:program-c && npm run clean:program-rust",
"clean:store": "rm -rf store",
"build:program-c": "rm -f ./dist/program/helloworld.so && V=1 make -C ./src/program-c && npm run clean:store",
"clean:program-c": "V=1 make -C ./src/program-c clean && npm run clean:store",
"build:program-rust": "./src/program-rust/do.sh build && npm run clean:store",
"clean:program-rust": "./src/program-rust/do.sh clean && rm -rf ./dist && npm run clean:store",
"test:program-rust": "./src/program-rust/do.sh test --features program",
"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/program-rust/Cargo.toml"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.1",
"@types/eslint": "^7.2.4",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/mkdirp": "^1.0.1",
"@types/mz": "^2.7.2",
"@types/prettier": "^2.1.5",
"@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": "^3.1.4",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},
"dependencies": {
"@solana/web3.js": "^0.80.2",
"buffer-layout": "^1.2.0",
"dotenv": "8.2.0",
"json-to-pretty-yaml": "^1.2.2",
"mkdirp": "^1.0.4",
"mz": "^2.7.0"
},
"engines": {
"node": "12.x"
}
}