-
Notifications
You must be signed in to change notification settings - Fork 964
/
package.json
108 lines (108 loc) · 3.19 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
{
"name": "opensea-js",
"version": "7.1.14",
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data",
"license": "MIT",
"author": "OpenSea Developers",
"homepage": "https://docs.opensea.io/reference/api-overview",
"repository": {
"type": "git",
"url": "git+https://github.com/ProjectOpenSea/opensea-js.git"
},
"bugs": {
"url": "https://github.com/ProjectOpenSea/opensea-js/issues"
},
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"abi-type-gen": "typechain --target=ethers-v6 src/abi/*.json --out-dir=src/typechain/contracts",
"build": "npm run abi-type-gen && tsc -p tsconfig.build.json",
"check-types": "tsc --noEmit --project tsconfig.json",
"coverage-report": "nyc report --reporter=lcov",
"docs-build": "typedoc",
"docs-build-md": "typedoc --plugin typedoc-plugin-markdown",
"eslint:check": "eslint . --max-warnings 0 --ext .js,.ts",
"eslint:fix": "npm run eslint:check -- --fix",
"postinstall": "husky install || exit 0",
"lint": "concurrently \"npm run check-types\" \"npm run prettier:check\" \"npm run eslint:check\"",
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"prepare": "npm run build",
"prettier:check": "prettier --check .",
"prettier:check:package.json": "prettier-package-json --list-different",
"prettier:fix": "prettier --write .",
"test": "nyc mocha --config ./.mocharc-unit.json",
"test:integration": "nyc mocha --config ./.mocharc-integration.json"
},
"types": "lib/index.d.ts",
"dependencies": {
"@opensea/seaport-js": "^4.0.0",
"ethers": "^6.9.0"
},
"devDependencies": {
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"concurrently": "^8.2.0",
"confusing-browser-globals": "^1.0.11",
"dotenv": "^16.0.3",
"eslint": "^8.4.1",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.0.0",
"mocha": "^10.0.0",
"nyc": "^17.0.0",
"prettier": "^3.0.0",
"prettier-package-json": "^2.8.0",
"ts-node": "^10.9.2",
"typechain": "^8.0.0",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "^4.0.0",
"typescript": "^5.1.3"
},
"keywords": [
"collectibles",
"crypto",
"ethereum",
"javascript",
"marketplace",
"nft",
"node",
"non-fungible tokens",
"opensea",
"sdk",
"smart contracts",
"typescript"
],
"engines": {
"node": ">=20.0.0"
},
"lint-staged": {
"package.json": [
"prettier-package-json --write"
],
"**/*.{ts,tsx,js,jsx,html,md,mdx,yml,json}": [
"prettier --write"
],
"**/*.{ts,tsx,js,jsx}": [
"eslint --cache --fix"
]
},
"nyc": {
"exclude": [
"src/utils/tokens/**/*.ts",
"src/typechain"
]
}
}