-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.13 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.13 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
{
"name": "@solana/spl-token-swap",
"version": "0.4.4",
"description": "SPL Token Swap JavaScript API",
"license": "MIT",
"type": "module",
"author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
"homepage": "https://solana.com/",
"repository": {
"type": "git",
"url": "https://github.com/solana-labs/solana-program-library"
},
"bugs": {
"url": "https://github.com/solana-labs/solana-program-library/issues"
},
"publishConfig": {
"access": "public"
},
"main": "lib/cjs/index.js",
"types": "lib/types/index.d.ts",
"module": "lib/esm/index.js",
"sideEffects": false,
"exports": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
},
"files": [
"lib",
"src",
"README.md"
],
"scripts": {
"clean": "rm -rf lib/*",
"build": "tsc --build --verbose tsconfig.all.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' > lib/cjs/package.json && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"build:program": "cargo build-sbf --manifest-path=../program/Cargo.toml",
"test:js": "mocha test",
"test": "start-server-and-test 'solana-test-validator --bpf-program SwapsVeCiPHMUAtzQWZw7RjsKjgCjhwU55QGu4U1Szw ../../target/deploy/spl_token_swap.so --reset --quiet' http://127.0.0.1:8899/health test:js",
"lint": "eslint --max-warnings 0 .",
"lint:fix": "eslint . --fix"
},
"keywords": [],
"dependencies": {
"@solana/buffer-layout": "^4.0.0",
"@solana/buffer-layout-utils": "^0.2.0"
},
"peerDependencies": {
"@solana/web3.js": "^1.95.5"
},
"devDependencies": {
"@solana/spl-token": "0.4.9",
"@solana/web3.js": "^1.95.5",
"@types/bn.js": "^5.1.6",
"@types/chai-as-promised": "^8.0.1",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-require-extensions": "^0.1.1",
"mocha": "^11.0.1",
"start-server-and-test": "^2.0.9",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
}
}