forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.39 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
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
{
"name": "@solana/spl-account-compression",
"description": "SPL Account Compression Program JS API",
"version": "0.1.4",
"author": "Solana Maintainers <maintainers@solana.foundation>",
"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/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"./idl/spl_account_compression.json": "./idl/spl_account_compression.json",
"./src/merkle-tree": "./src/merkle-tree/index.ts"
},
"scripts": {
"build": "rm -rf dist/ && tsc && tsc -p tsconfig.cjs.json",
"fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
"pretty": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
"pretty:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'",
"lint": "set -ex; npm run pretty; eslint . --ext .js,.ts",
"lint:fix": "npm run pretty:fix && eslint . --fix --ext .js,.ts",
"docs": "rm -rf docs/ && typedoc --out docs",
"deploy:docs": "yarn docs && gh-pages -d docs",
"start-validator": "solana-test-validator --reset --quiet --bpf-program cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK ../target/deploy/spl_account_compression.so --bpf-program noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV ../target/deploy/spl_noop.so",
"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://localhost:8899/health run-tests:events",
"test:accounts": "start-server-and-test start-validator http://localhost:8899/health run-tests:accounts",
"test:e2e": "start-server-and-test start-validator http://localhost:8899/health run-tests:e2e",
"test": "start-server-and-test start-validator http://localhost:8899/health run-tests"
},
"dependencies": {
"@metaplex-foundation/beet": "^0.7.1",
"@metaplex-foundation/beet-solana": "^0.4.0",
"bn.js": "^5.2.1",
"borsh": "^0.7.0"
},
"peerDependencies": {
"@solana/web3.js": "^1.50.1"
},
"devDependencies": {
"@metaplex-foundation/rustbin": "^0.3.1",
"@metaplex-foundation/solita": "0.15.2",
"@project-serum/anchor": "^0.25.0",
"@types/bn.js": "^5.1.1",
"@types/chai": "^4.3.0",
"@types/jest": "^29.0.0",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"chai": "^4.3.4",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"gh-pages": "^4.0.0",
"jest": "^29.0.1",
"jest-config": "^29.0.1",
"js-sha3": "^0.8.0",
"start-server-and-test": "^1.14.0",
"ts-jest": "^28.0.8",
"ts-jest-resolver": "^2.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.22.2",
"typescript": "=4.7.4",
"typescript-collections": "^1.3.3"
}
}