-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
52 lines (52 loc) · 1.61 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
{
"name": "solana-swap",
"version": "1.1.6",
"description": "Solana Swap Library for Solana Tracker Swap API",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.ts",
"browser": "dist/umd/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"clean": "rimraf dist",
"build:cjs": "tsc --module commonjs --outDir dist/cjs && cp package.cjs.json dist/cjs/package.json",
"build:esm": "tsc --module es2015 --outDir dist/esm && cp package.esm.json dist/esm/package.json",
"build:umd": "tsc --module umd --outDir dist/umd",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist/types",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"watch:build": "tsc --watch",
"watch:server": "nodemon './dist/cjs/index.js' --watch './dist/cjs'",
"start": "npm-run-all build --parallel watch:build watch:server --print-label"
},
"repository": {
"type": "git",
"url": "git+https://github.com/YZYLAB/solana-swap.git"
},
"keywords": [
"solana",
"swap",
"raydium",
"jupiter"
],
"author": "Solana Tracker",
"license": "ISC",
"bugs": {
"url": "https://github.com/YZYLAB/solana-swap/issues"
},
"homepage": "https://github.com/YZYLAB/solana-swap#readme",
"dependencies": {
"@solana/web3.js": "^1.91.6",
"axios": "^1.6.8",
"bs58": "^5.0.0",
"promise-retry": "^2.0.1"
},
"devDependencies": {
"rimraf": "^5.0.7"
}
}