-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
102 lines (102 loc) · 2.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
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
{
"name": "use-nft",
"version": "0.12.0",
"author": "spectre.xyz",
"license": "MIT",
"homepage": "https://github.com/spectrexyz/use-nft",
"repository": "github:spectrexyz/use-nft",
"description": "useNft() allows to access the metadata of any NFT (EIP 721, EIP 1155 and more) on the Ethereum blockchain.",
"keywords": [
"nft",
"ethereum",
"react"
],
"bugs": "https://github.com/spectrexyz/use-nft/issues",
"type": "module",
"module": "dist/use-nft.es.js",
"main": "dist/use-nft.es.js",
"source": "src/index.tsx",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"dev": "vite build --watch",
"build": "vite build --mode production",
"prepublishOnly": "npm run build",
"lint": "eslint src",
"test": "vitest"
},
"dependencies": {
"swr": "1.3.0"
},
"devDependencies": {
"@ethersproject/contracts": "^5.6.0",
"@ethersproject/providers": "^5.6.4",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"eslint": "^8.14.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"ethers": "^5.6.4",
"happy-dom": "^3.1.0",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"typescript": "^4.6.3",
"vite": "^2.9.6",
"vite-plugin-dts": "^1.1.1",
"vitest": "^0.10.0"
},
"peerDependencies": {
"@ethersproject/contracts": ">=5.2.0 <6",
"ethers": ">=5.2.0 <6",
"react": ">=17"
},
"peerDependenciesMeta": {
"@ethersproject/contracts": {
"optional": true
},
"ethers": {
"optional": true
}
},
"resolutions": {
"package-build-stats": "7.2.4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {
"import/no-default-export": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/no-unsafe-member-access": "warn",
"@typescript-eslint/no-unsafe-return": "warn"
}
}
]
}
}