forked from bpierre/use-nft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.48 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
{
"name": "use-nft",
"version": "0.10.1",
"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",
"main": "dist/use-nft.cjs.js",
"module": "dist/use-nft.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "rollpkg build",
"dev": "rollpkg watch",
"prepublishOnly": "npm run build",
"lint": "eslint src",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "npx live-server coverage/lcov-report"
},
"dependencies": {
"swr": "1.0.0-beta.13"
},
"devDependencies": {
"@ethersproject/contracts": "^5.4.1",
"@ethersproject/providers": "^5.4.3",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jest-dom": "^3.9.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"ethers": "^5.4.5",
"jest": "^27.0.6",
"jest-watch-typeahead": "^0.6.4",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollpkg": "^0.5.7",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
},
"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": {
"extends": [
"./node_modules/rollpkg/configs/eslint"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {
"import/no-default-export": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"^react$"
]
}
]
}
}
]
},
"jest": {
"preset": "rollpkg",
"transform": {
"\\.(ts|tsx)$": "ts-jest"
}
}
}