UNPKG

opensea-js

Version:

TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data

111 lines (110 loc) 3.32 kB
{ "name": "opensea-js", "version": "7.2.1", "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.5", "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": "^22.0.0", "@types/sinon": "^17.0.4", "@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": "^17.0.0", "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", "sinon": "^21.0.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" ] } }