UNPKG

@timicool/opensea-js

Version:

JavaScript SDK for the OpenSea marketplace. Let users buy or sell crypto collectibles and other cryptogoods, all on your own site!

106 lines (105 loc) 3.37 kB
{ "name": "@timicool/opensea-js", "version": "1.2.1", "description": "JavaScript SDK for the OpenSea marketplace. Let users buy or sell crypto collectibles and other cryptogoods, all on your own site!", "license": "MIT", "author": "OpenSea Developers", "homepage": "https://docs.opensea.io/v1.0/reference", "repository": { "type": "git", "url": "git+https://github.com/zhugeliang-and-choupijiang/opensea-js.git" }, "bugs": { "url": "https://github.com/ProjectOpenSea/opensea-js/issues" }, "main": "lib/index.js", "files": [ "lib" ], "scripts": { "build": "tsc", "check-types": "tsc --noEmit --project tsconfig.json", "coverage-report": "nyc report --reporter=text-lcov | coveralls", "docs-build": "typedoc --out docs src/index.ts", "eslint:check": "eslint . --max-warnings 0 --ext .js,.ts", "lint:check": "concurrently \"yarn check-types\" \"yarn prettier:check\" \"yarn eslint:check\"", "prepare": "husky install && npm run build", "test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' TS_NODE_TRANSPILE_ONLY=true nyc mocha -r ts-node/register src/__tests__/**/*.ts --timeout 15000", "prettier:check": "prettier --check .", "prettier:check:package.json": "yarn prettier-package-json --list-different", "prettier:fix": "prettier --write ." }, "types": "lib/index.d.ts", "dependencies": { "bignumber.js": "^4.1.0", "ethereumjs-abi": "git+https://github.com/ProjectWyvern/ethereumjs-abi.git", "ethereumjs-util": "^5.2.0", "fbemitter": "2.1.1", "isomorphic-unfetch": "^2.1.1", "lodash": "^4.17.21", "query-string": "^6.11.1", "web3": "0.20.7", "wyvern-js": "git+https://github.com/ProjectOpenSea/wyvern-js.git#v3.3.0", "wyvern-schemas": "git+https://github.com/ProjectOpenSea/wyvern-schemas.git#v0.14.0" }, "husky": { "hooks": { "pre-commit": "npm run lint && npm run build && git add lib/*" } }, "devDependencies": { "@types/chai": "4.3.0", "@types/fbemitter": "^2.0.32", "@types/lodash": "^4.14.178", "@types/mocha": "^9.0.0", "@types/node": "^9.3.0", "@types/query-string": "^6.1.0", "@typescript-eslint/eslint-plugin": "^5.7.0", "@typescript-eslint/parser": "^5.7.0", "chai": "4.3.4", "concurrently": "6.5.1", "confusing-browser-globals": "^1.0.11", "coveralls": "^3.1.1", "eslint": "^8.4.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jest": "^25.3.0", "eslint-plugin-prettier": "^4.0.0", "husky": "7.0.4", "lint-staged": "12.1.2", "mocha": "^9.1.3", "nyc": "^15.1.0", "prettier": "2.5.1", "prettier-package-json": "2.6.0", "ts-node": "10.4.0", "typedoc": "0.22.10", "types-bn": "^0.0.1", "types-ethereumjs-util": "0.0.8", "typescript": "4.5.4", "web3-typescript-typings": "^0.9.3" }, "keywords": [ "collectibles", "crypto", "ethereum", "javascript", "marketplace", "nft", "node", "non-fungible-tokens", "project-opensea", "sdk", "smart-contracts" ], "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" ] } }