-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
98 lines (98 loc) · 3.45 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
93
94
95
96
97
98
{
"name": "@soceanfi/stake-pool-sdk",
"version": "0.4.6",
"description": "Socean Stake Pool Typescript SDK",
"author": "socean finance <[email protected]>",
"repository": "https://github.com/igneous-labs/stake-pool-sdk",
"homepage": "https://socean.fi",
"license": "MIT",
"keywords": [
"socean.fi",
"staking",
"solana",
"blockchain",
"typescript",
"SDK"
],
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"browser": "./dist/esm/browser.js",
"bin": {
"cli": "./dist/esm/cli.js"
},
"files": [
"dist",
"src"
],
"scripts": {
"cli": "ts-node src/cli.ts",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache",
"lint": "yarn run eslint src/ --ext .js,.ts",
"prepare": "husky install",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-mocha --timeout 300000 --paths tests/test-*.ts",
"clean": "rm -rf dist build package",
"ts-node": "ts-node",
"docs": "typedoc --entryPoints src/index.ts",
"build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"build-all": "yarn build && yarn esbuild-node && yarn esbuild-browser",
"esbuild-browser": "esbuild src/browser.ts --bundle --minify --sourcemap=external --outfile=dist/esm/browser.js",
"esbuild-browser:dev": "esbuild src/browser.ts --bundle --outfile=dist/esm/browser.js",
"esbuild-browser:watch": "esbuild src/browser.ts --bundle --watch --outfile=dist/esm/browser.js",
"esbuild-node": "esbuild src/cli.ts --bundle --platform=node --minify --sourcemap=external --outfile=dist/esm/cli.js",
"esbuild-node:dev": "esbuild src/cli.ts --bundle --platform=node --sourcemap=external --outfile=dist/esm/cli.js",
"esbuild-node:watch": "esbuild src/cli.ts --bundle --platform=node --watch --sourcemap=external --outfile=dist/esm/cli.js",
"prepack": "yarn build",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > dist/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > dist/esm/package.json"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"chai": "^4.3.6",
"esbuild": "^0.14.11",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.4.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"ts-mocha": "^9.0.2",
"ts-node": "^10.5.0",
"tsc-alias": "^1.6.4",
"tsconfig-paths": "^3.12.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
},
"dependencies": {
"@solana/buffer-layout": "^4.0.0",
"@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.32.0",
"@types/bn.js": "^5.1.0",
"@types/yargs": "^17.0.8",
"borsh": "^0.7.0",
"buffer": "^6.0.3",
"yargs": "^17.3.1"
},
"resolutions": {
"minimist": "^1.2.6"
},
"publishConfig": {
"access": "public"
}
}