-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 5.01 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 5.01 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@lightprotocol/zk-compression-cli",
"version": "0.28.0-beta.8",
"description": "ZK Compression: Secure Scaling on Solana",
"maintainers": [
{
"name": "Light Protocol maintainers",
"email": "friends@lightprotocol.com"
}
],
"bin": {
"light": "./test_bin/run"
},
"license": "Apache-2.0",
"main": "dist/index.js",
"files": [
"/accounts",
"/bin",
"!bin/cargo-generate",
"!/bin/**/*.vkey",
"!/bin/proving-keys",
"!/bin/prover-*",
"/dist",
"/test_bin",
"./config.json",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"dependencies": {
"@coral-xyz/anchor": "^0.29.0",
"@lightprotocol/compressed-token": "workspace:*",
"@lightprotocol/hasher.rs": "0.2.1",
"@lightprotocol/stateless.js": "workspace:*",
"@oclif/core": "^4.5.4",
"@oclif/plugin-autocomplete": "^3.2.34",
"@oclif/plugin-help": "^6.2.33",
"@oclif/plugin-not-found": "^3.2.68",
"@oclif/plugin-plugins": "^5.4.47",
"@oclif/table": "^0.4.14",
"@solana/web3.js": "1.98.4",
"axios": "1.12.2",
"case-anything": "^2.1.13",
"cli-progress": "^3.12.0",
"cli-spinners": "^2.9.2",
"dotenv": "^16.4.7",
"ffjavascript": "^0.3.1",
"find-process": "^1.4.7",
"node-fetch": "^3.3.2",
"snake-case": "^3.0.4",
"tar": "^7.4.3",
"tweetnacl": "^1.0.3",
"wait-on": "^7.2.0",
"which": "^5.0.0"
},
"devDependencies": {
"@eslint/js": "9.36.0",
"@oclif/test": "^4.1.14",
"@solana/spl-token": "^0.3.11",
"@types/bn.js": "^5.1.5",
"@types/chai": "^5.2.2",
"@types/cli-progress": "^3.11.6",
"@types/mocha": "^10.0.10",
"@types/node": "^22",
"@types/tar": "^6.1.13",
"@types/wait-on": "^5.3.4",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"chai": "^6.0.1",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"mocha": "^11.7.2",
"oclif": "^4.22.22",
"prettier": "^3.3.3",
"shx": "^0.3.4",
"ts-mocha": "^10.0.0",
"tslib": "^2.8.1",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
},
"oclif": {
"bin": "light",
"dirname": "light",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins",
"@oclif/plugin-autocomplete",
"@oclif/plugin-not-found"
],
"topicSeparator": ""
},
"scripts": {
"postinstall": "[ -d ./bin ] && find ./bin -type f -exec chmod +x {} + || echo 'No bin directory found, skipping chmod'",
"sync-prover-version": "./scripts/syncProverVersion.sh",
"sync-photon-version": "./scripts/syncPhotonVersion.sh",
"build": "shx rm -rf dist && pnpm sync-prover-version && pnpm sync-photon-version && pnpm tsc -p tsconfig.json && pnpm tsc -p tsconfig.test.json",
"build-release": "shx rm -rf dist && pnpm sync-prover-version && pnpm sync-photon-version && pnpm tsc -p tsconfig.json && pnpm tsc -p tsconfig.test.json",
"format": "pnpm prettier --write \"src/**/*.{ts,js}\" \"test/**/*.{ts,js}\" -w",
"format:check": "pnpm prettier \"src/**/*{ts,js}\" \"test/**/*.{ts,js}\" --check",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"postpack": "shx rm -f oclif.manifest.json",
"prepack": "pnpm build-release && oclif manifest && oclif readme",
"test-utils": "mocha ./test/utils/index.test.ts -t 10000000 --exit",
"test-config": "mocha ./test/commands/config/index.test.ts -t 10000000 --exit",
"test-create-mint": "mocha ./test/commands/create-mint/index.test.ts -t 10000000 --exit",
"test-create-interface-pda": "mocha ./test/commands/create-interface-pda/index.test.ts -t 10000000 --exit",
"test-create-token-account": "mocha ./test/commands/create-token-account/index.test.ts -t 10000000 --exit",
"test-mint-to": "mocha ./test/commands/mint-to/index.test.ts -t 10000000 --exit",
"test-transfer": "mocha ./test/commands/transfer/index.test.ts -t 10000000 --exit",
"test-token-balance": "mocha test/commands/token-balance/index.test.ts -t 10000000 --exit",
"test-wrap-spl": "mocha ./test/commands/wrap-spl/index.test.ts -t 10000000 --exit",
"test-unwrap-spl": "mocha ./test/commands/unwrap-spl/index.test.ts -t 10000000 --exit",
"test-test-validator": "mocha ./test/commands/test-validator/index.test.ts -t 10000000 --exit",
"kill": "killall solana-test-validator || true && killall solana-test-val || true && sleep 1",
"test-cli": "pnpm test-config && pnpm kill",
"test": "pnpm kill && pnpm test-cli && pnpm test-utils && pnpm test-create-mint && pnpm test-create-token-account && pnpm test-mint-to && pnpm test-transfer && pnpm test-create-interface-pda && pnpm test-wrap-spl && pnpm test-unwrap-spl && pnpm test-token-balance && pnpm test-test-validator",
"install-local": "pnpm build && pnpm global remove @lightprotocol/zk-compression-cli || true && pnpm global add $PWD",
"version": "oclif readme && git add README.md"
},
"engines": {
"node": ">=16.0.0"
},
"keywords": [
"oclif"
],
"types": "dist/index.d.ts"
}