-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
84 lines (84 loc) · 2.98 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
{
"name": "@renproject/ren",
"version": "3.6.0",
"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": "./build/index.js",
"typings": "./build/index.d.ts",
"module": "./build/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\\//\\//' ./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.6.0",
"@renproject/utils": "^3.6.0",
"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"
}
}