This repository was archived by the owner on Mar 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.56 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.56 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
{
"name": "@solana/spl-account-compression",
"description": "SPL Account Compression Program JS API",
"version": "0.4.1",
"author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
"repository": {
"url": "https://github.com/solana-labs/solana-program-library",
"type": "git"
},
"license": "Apache-2.0",
"sideEffects": false,
"engines": {
"node": ">=16"
},
"files": [
"dist",
"src",
"idl",
"README.md"
],
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/cjs/index.js"
},
"./idl/spl_account_compression.json": "./idl/spl_account_compression.json"
},
"scripts": {
"build": "rm -rf dist/ && tsc -p tsconfig.json",
"build:program": "cargo build-sbf --manifest-path=../programs/account-compression/Cargo.toml && cargo build-sbf --manifest-path=../programs/noop/Cargo.toml",
"lint": "set -ex; eslint . --ext .js,.ts",
"lint:fix": "eslint . --fix --ext .js,.ts",
"docs": "rm -rf docs/ && typedoc --out docs",
"deploy:docs": "npm run docs && gh-pages --dest account-compression/sdk --dist docs --dotfiles",
"start-validator": "solana-test-validator --reset --quiet --bpf-program cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK ../target/deploy/spl_account_compression.so --bpf-program noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV ../target/deploy/spl_noop.so --account 27QMkDMpBoAhmWj6xxQNYdqXZL5nnC8tkZcEtkNxCqeX pre-batch-init-tree-account.json",
"run-tests": "jest tests --detectOpenHandles",
"run-tests:events": "jest tests/events --detectOpenHandles",
"run-tests:accounts": "jest tests/accounts --detectOpenHandles",
"run-tests:e2e": "jest accountCompression.test.ts --detectOpenHandles",
"test:events": "start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:events",
"test:accounts": "start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:accounts",
"test:e2e": "start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:e2e",
"test:merkle-tree": "jest tests/merkleTree.test.ts --detectOpenHandles",
"test": "start-server-and-test start-validator http://127.0.0.1:8899/health run-tests"
},
"dependencies": {
"@metaplex-foundation/beet": "^0.7.2",
"@metaplex-foundation/beet-solana": "^0.4.1",
"bn.js": "^5.2.1",
"js-sha3": "^0.9.3",
"typescript-collections": "^1.3.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.95.4"
},
"devDependencies": {
"@metaplex-foundation/rustbin": "^0.3.5",
"@metaplex-foundation/solita": "0.20.1",
"@coral-xyz/anchor": "^0.29.0",
"@solana/eslint-config-solana": "^3.0.3",
"@types/bn.js": "^5.1.6",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.3",
"@types/node-fetch": "^2.6.12",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^8.57.0",
"eslint-config-turbo": "^2.3.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"gh-pages": "^6.3.0",
"jest": "^29.0.1",
"jest-config": "^29.0.1",
"start-server-and-test": "^2.0.9",
"ts-jest": "^29.2.5",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typescript": "5.7.2"
}
}