-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 4.3 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@pngfi/react-hooks",
"version": "0.6.3",
"description": "react hooks for pngfi.",
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"license": "MIT",
"author": "Fu",
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && yarn doc && rollup -c",
"start": "rollup -c -w",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prepare": "husky install",
"publish": "npm publish --access public",
"c": "npm run build && git add . && git-cz",
"r": "cp -rf package-pngfi.json package.json && nucm use pngfi-fu && standard-version && git push pngfi HEAD && npm run publish",
"up": "cp -rf package-xweb3.json package.json && npm run c && nucm use xweb && standard-version && git push xweb3 HEAD && npm run publish",
"doc": "npx typedoc --excludePrivate --includeVersion --out docs/ src/index.{ts,tsx}",
"lint": "eslint \"{src,apps,libs,test}/**/*.{ts,tsx}\" --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest"
},
"files": [
"/dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pngfi/react-hooks.git"
},
"keywords": [
"pngfi",
"png",
"react hooks",
"crypto",
"solana",
"amm",
"dex",
"sdk"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"bugs": {
"url": "https://github.com/pngfi/react-hooks/issues"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"peerDependencies": {
"react": "^17 || ^18"
},
"dependencies": {
"@project-serum/anchor": "^0.25.0",
"@project-serum/associated-token": "^0.1.1",
"@raydium-io/raydium-sdk": "^1.1.0-beta.6",
"@saberhq/anchor-contrib": "^1.13.15",
"@saberhq/merkle-distributor": "^0.3.3",
"@saberhq/solana-contrib": "^1.13.10",
"@saberhq/token-utils": "^1.13.15",
"@solana/spl-token": "0.1.8",
"@solana/spl-token-swap": "0.1.2",
"@solana/wallet-adapter-react": "^0.15.5",
"@solana/web3.js": "^1.42.0",
"@xweb3/swr-store": "^0.0.19",
"bignumber.js": "^9.0.2",
"bs58": "^5.0.0",
"buffer": "^6.0.3",
"decimal.js": "^10.3.1",
"eslint": "^8.20.0",
"query-string": "^7.1.1",
"zustand": "^4.0.0-rc.2",
"axios": "^0.27.2",
"swr": "^1.3.0"
},
"devDependencies": {
"@babel/preset-env": "^7.18.0",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@droppedcode/typedoc-plugin-relative-includes": "^1.0.2",
"@rollup/plugin-json": "^4.1.0",
"rollup-plugin-terser": "^7.0.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/react-hooks": "^3.4.1",
"@types/big.js": "^6.1.3",
"@types/bn.js": "^5.1.0",
"@types/jest": "^27.5.1",
"@types/node": "17.0.35",
"@types/node-fetch": "^2.6.1",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.4",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"axios": "^0.27.2",
"babel-core": "^6.26.3",
"babel-jest": "^28.1.0",
"babel-runtime": "^6.26.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"git-cz": "^4.8.0",
"husky": "^7.0.1",
"jest": "^27",
"jsbi": "^4.3.0",
"lint-staged": ">=10",
"prettier": "^2.7.1",
"prop-types": "^15.7.2",
"react-test-renderer": "^18.1.0",
"rollup": "^2.74.1",
"rollup-plugin-sass": "^1.2.12",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-plugin-uglify": "^6.0.4",
"standard-version": "^9.3.2",
"swr": "^1.3.0",
"ts-jest": "^27.0.3",
"ts-node": "^10.7.0",
"tslib": "^2.4.0",
"typedoc": "^0.22.15",
"typescript": "^4.5.2"
}
}