forked from thirdweb-dev/typescript-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.75 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
{
"name": "@thirdweb-dev/sdk",
"version": "2.3.7-1",
"description": "The main thirdweb SDK.",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/typescript-sdk.git"
},
"license": "Apache-2.0",
"types": "dist/src/index.d.ts",
"main": "dist/node/index.js",
"module": "dist/node/index.mjs",
"browser": "dist/browser/index.js",
"unpkg": "dist/browser/index.global.js",
"exports": {
"node": {
"module": "./dist/node/index.mjs",
"require": "./dist/node/index.js"
},
"default": "./dist/browser/index.mjs"
},
"files": [
"dist/**/*"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist/",
"dev": "tsdx watch",
"build:lib": "rm -rf ./dist && tsup && yarn generate-types",
"format": "prettier src/ --write",
"prepublishOnly": "yarn lint && yarn build",
"lint": "eslint src/",
"fix": "eslint src/ --fix",
"generate-types": "tsc",
"typechain": "rm -rf ./typechain && typechain --target ethers-v5 --out-dir typechain './node_modules/@thirdweb-dev/contracts/abi/*.json'",
"extract-abi": "node ./scripts/extract-abis.mjs",
"extract-api": "api-extractor run --local",
"full-build": "yarn typechain && yarn extract-abi && yarn build:lib && yarn extract-api",
"generate-md-docs": "yarn api-documenter markdown -i ./temp -o ./docs",
"generate-docs": "yarn full-build && yarn generate-md-docs",
"generate-snippets": "node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets.mjs",
"build": "yarn clean && yarn generate-docs && yarn generate-snippets",
"test": "echo \"\nUse 'yarn run test:all' to run all tests\nPass a test file pattern from ./test to run\n\n\t$ yarn run test test/pack.test.ts\" && ts-mocha --paths -t 120000 -r esm -p tsconfig.testing.json",
"test:all": "ts-mocha --parallel --paths -t 120000 -r esm -p tsconfig.testing.json './test/**/*.test.ts'"
},
"devDependencies": {
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@microsoft/api-documenter": "^7.13.53",
"@microsoft/api-extractor": "^7.18.10",
"@microsoft/tsdoc": "^0.14.1",
"@nomiclabs/hardhat-ethers": "2.0.5",
"@swc/core": "^1.2.177",
"@typechain/ethers-v5": "^10.0.0",
"@types/chai": "^4.3.1",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/expect": "^24.3.0",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.0",
"@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"chai": "^4.3.6",
"deep-equal-in-any-order": "^1.1.18",
"eslint": "^8",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-inclusive-language": "^2.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-tsdoc": "^0.2.14",
"esm": "^3.2.25",
"ethers": "^5.6.2",
"hardhat": "2.9.3",
"merkletreejs": "^0.2.24",
"mocha": "^10.0.0",
"node-stdlib-browser": "^1.2.0",
"prettier": "^2.4.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.7.0",
"tsup": "^6.0.1",
"typechain": "^8.0.0",
"typescript": "^4.6.2"
},
"peerDependencies": {
"ethers": "^5"
},
"dependencies": {
"@thirdweb-dev/contracts": "2.3.9",
"@web-std/file": "^3.0.0",
"cbor": "^8.1.0",
"cross-fetch": "^3.1.5",
"eventemitter3": "^4.0.7",
"fast-deep-equal": "^3.1.3",
"form-data": "^4.0.0",
"multihashes": "^4.0.3",
"tiny-invariant": "^1.2.0",
"uuid": "^8.3.2",
"zod": "^3.11.6"
},
"resolutions": {
"nanoid": "^3.1.31",
"typescript": "^4.6.2",
"@microsoft/tsdoc": "^0.14.1"
},
"bugs": {
"url": "https://github.com/thirdweb-dev/typescript-sdk/issues"
},
"homepage": "https://github.com/thirdweb-dev/typescript-sdk#readme",
"author": "thirdweb"
}