UNPKG

@renproject/ren

Version:

Official Ren JavaScript SDK for bridging crypto assets cross-chain.

86 lines (85 loc) 3.08 kB
{ "name": "@renproject/ren", "version": "3.5.2", "description": "Official Ren JavaScript SDK for bridging crypto assets cross-chain.", "repository": { "type": "git", "url": "git+https://github.com/renproject/ren-js.git" }, "publishConfig": { "access": "public", "directory": "build" }, "keywords": [ "RenVM", "Ren", "Cross-Chain", "Ethereum", "Bitcoin", "Solana", "Dogecoin", "Web3", "DeFi" ], "author": "Ren", "license": "MIT", "bugs": { "url": "https://github.com/renproject/ren-js/issues" }, "main": "./index.js", "typings": "./index.d.ts", "module": "./module/index.js", "scripts": { "clean": "yarn rimraf ./build ./node_modules", "link": "yarn build:link && cd build && yarn link", "unlink": "yarn unlink", "build": "run-s build:*", "build:main": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", "build:link": "cp package.json build && cp README.md build && sed -i.tmp 's/\\/build\\//\\//' ./package.json && rm ./build/package.json.tmp", "_build:bundled": "cross-env NODE_ENV=production webpack --config ../../webpack.config.js --mode production --progress --color", "prettier": "yarn fix:prettier", "lint": "run-s lint:*", "lint:eslint": "eslint --config ../../.eslintrc.js src", "lint:prettier": "prettier --check \"./(src|test)/**/*.ts*\"", "fix": "run-s fix:*", "fix:eslint": "yarn lint:eslint --fix", "fix:prettier": "prettier --write './(src|test)/**/*.ts*'", "test": "run-s test:* lint", "test-all": "ALL_TESTS=true run-s build:main test:unit lint", "test:unit": "nyc ../../node_modules/ts-mocha/bin/ts-mocha --sort --exit --timeout 180000 --paths -p ./tsconfig.json ./test/*.spec.ts ./test/**/*.spec.ts", "watch": "run-s build:main && run-s \"build:main -- -w\"", "cov": "run-s build:main test:unit cov:html && echo \"\n\nTo see coverage, run: 'open coverage/index.html'\n\n\"", "cov:html": "nyc report --reporter=html", "cov:send": "nyc report --reporter=lcov && codecov", "cov:check": "nyc report && nyc check-coverage --lines 0 --functions 0 --branches 0", "prepare": "yarn build" }, "dependencies": { "@renproject/provider": "^3.5.2", "@renproject/utils": "^3.5.2", "bignumber.js": "9.0.2", "events": "3.3.0", "immutable": "4.1.0" }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "exclude": [ "**/*.d.ts", "**/*.spec.js" ], "include": [ "src" ] }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": false, "tabWidth": 4, "trailingComma": "all", "endOfLine": "lf", "arrowParens": "always" }, "gitHead": "30f9648499e372f0a7fede8e1b386c607377b06b" }