-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
129 lines (129 loc) · 5.03 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
{
"name": "tronwallet-adapter",
"description": "wallet adapters for TRON blockchain",
"version": "1.2.1",
"main": "index.js",
"sideEffects": false,
"private": true,
"engines": {
"node": ">=16",
"pnpm": ">=7"
},
"repository": {
"type": "git",
"url": "https://github.com/tronprotocol/tronwallet-adapter"
},
"author": "tronprotocol",
"license": "MIT",
"scripts": {
"nuke": "shx rm -rf packages/*/*/node_modules demos/**/node_modules node_modules || true",
"reinstall": "pnpm run nuke && pnpm install",
"clean": "pnpm --recursive run clean && shx rm -rf **/*.tsbuildinfo",
"ts": "pnpm run build:ts",
"build": "pnpm run build:ts && pnpm run build:other && pnpm run build:umd",
"build:ts": "tsc --build --verbose tsconfig.all.json",
"build:other": "pnpm --recursive --filter \"@tronweb3/*\" run build",
"build:clean": "pnpm run clean && pnpm run build && pnpm run package",
"build:umd": "pnpm --recursive run build:umd",
"build-dev-demo": "pnpm build && pnpm run --filter {demos/dev-demo} build",
"package": "pnpm --recursive run package",
"release": "pnpm prerelease && pnpm build:clean && pnpm test && changeset publish",
"watch": "pnpm run watch:ts & pnpm run watch:other",
"watch:ts": "tsc --build --verbose --watch tsconfig.all.json",
"watch:other": "pnpm run --filter {packages/vue/vue-ui} watch",
"dev": "pnpm watch & pnpm run --filter {demos/dev-demo} dev",
"fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
"lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint . --ignore-pattern \"/demos\"",
"lint:fix": "pnpm run fmt && eslint --fix .",
"test": "pnpm --recursive --filter \"@tronweb3/*\" run test",
"example": "pnpm run --filter {demos/react-ui/vite-app} dev",
"prepare": "husky install",
"update-version": "pnpm changeset add && pnpm changeset version",
"prerelease": "node ./scripts/check-dep-version.js"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.9",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-require-extensions": "^0.1.1",
"gh-pages": "^4.0.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"pnpm": "^7.12.1",
"prettier": "2.7.1",
"rollup": "^4.0.2",
"shx": "^0.3.4",
"ts-jest": "^29.0.3",
"typedoc": "^0.23.15",
"typescript": "^4.8.3"
},
"overrides": {
"@ledgerhq/devices": "6.27.1",
"@ledgerhq/hw-transport": "6.27.1",
"@ledgerhq/hw-transport-webhid": "6.27.1"
},
"resolutions": {
"@ledgerhq/devices": "6.27.1",
"@ledgerhq/hw-transport": "6.27.1",
"@ledgerhq/hw-transport-webhid": "6.27.1"
},
"lint-staged": {
"{*,**/*}.{ts,tsx,js,jsx,json}": "prettier --check",
"{packages,.}/**/*.{ts,tsx,js,jsx,json}": "eslint"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {
"rollup-plugin-polyfill-node": "^0.11.0"
},
"pnpm": {
"overrides": {
"@ledgerhq/devices": "6.27.1",
"@ledgerhq/hw-transport": "6.27.1",
"@ledgerhq/hw-transport-webhid": "6.27.1",
"nth-check@<2.0.1": ">=2.0.1",
"browserify-sign": ">=4.2.2",
"postcss": ">=8.4.31",
"semver@>=5.7.1": ">=5.7.2",
"semver@>=6.0.0": ">=6.3.1",
"semver@>=7.0.0": ">=7.5.2",
"get-func-name": "2.0.2",
"tough-cookie": ">=4.1.3",
"word-wrap": ">=1.2.4",
"yaml": ">=2.2.2",
"@babel/traverse": ">=7.23.2",
"pnpm": ">=7.33.4",
"vconsole": ">=3.15.1",
"axios": ">=1.6.0",
"@adobe/css-tools": ">=4.3.2",
"follow-redirects": ">=1.15.6",
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"semver@<5.7.2": ">=5.7.2",
"webpack-dev-middleware@<=5.3.3": ">=5.3.4",
"express@<4.19.2": ">=4.19.2",
"gh-pages@<5.0.0": ">=5.0.0",
"ejs@<3.1.10": ">=3.1.10",
"@solana/web3.js@>=1.87.0 <1.87.7": ">=1.87.7"
}
}
}