forked from ProjectOpenSea/opensea-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.23 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": "6.1.7",
"description": "JavaScript 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-v5 src/abi/*.json --out-dir=src/typechain/contracts",
"build": "npm run abi-type-gen && tsc -p tsconfig.build.json && npm run bundle",
"bundle": "browserify lib/index.js -o lib/bundle.js",
"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\"",
"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": "^2.0.0",
"ethers": "^5.7.2"
},
"devDependencies": {
"@typechain/ethers-v5": "^11.0.0",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"browserify": "^17.0.0",
"chai": "4.3.7",
"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.0-alpha.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"prettier-package-json": "^2.8.0",
"ts-node": "10.9.1",
"typechain": "^8.0.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.3"
},
"keywords": [
"collectibles",
"crypto",
"ethereum",
"javascript",
"marketplace",
"nft",
"node",
"non-fungible-tokens",
"project-opensea",
"sdk",
"smart-contracts"
],
"engines": {
"node": ">=16.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"
]
}
}