forked from root-eth/ren-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.8 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
{
"name": "@renproject/chains-bitcoin",
"version": "3.0.0-alpha.26",
"repository": {
"type": "git",
"url": "git+https://github.com/renproject/ren-js.git"
},
"publishConfig": {
"access": "public"
},
"author": "Ren",
"license": "MIT",
"bugs": {
"url": "https://github.com/renproject/ren-js/issues"
},
"main": "./build/main/index.js",
"typings": "./build/main/index.d.ts",
"module": "./build/module/index.js",
"scripts": {
"describe": "npm-scripts-info",
"clean": "yarn rimraf ./build ./node_modules",
"link": "yarn link",
"unlink": "yarn unlink",
"build": "yarn build:main && yarn build:module",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"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:unit": "nyc ../../../node_modules/ts-mocha/bin/ts-mocha --bail --sort --exit --timeout 180000 --paths -p ./tsconfig.json ./test/*.spec.ts ./test/**/*.spec.ts --ignore ./test/testutils/chai.d.ts",
"watch": "run-s build:main && run-s \"build:main -- -w\"",
"cov": "run-s build:main test:unit cov:html && open-cli coverage/index.html",
"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",
"npmignore": "npmignore -g ../../../.gitignore",
"prepare-release": "run-s npmignore build"
},
"dependencies": {
"@noble/hashes": "1.0.0",
"@renproject/utils": "^3.0.0-alpha.26",
"@types/bchaddrjs": "^0.4.0",
"@types/bs58": "^4.0.1",
"@types/bs58check": "2.1.0",
"@types/cashaddrjs": "^0.3.0",
"bchaddrjs": "^0.5.2",
"bech32": "^2.0.0",
"bignumber.js": "^9.0.2",
"bs58": "^5.0.0",
"bs58check": "^2.1.2",
"cashaddrjs": "^0.4.4",
"qs": "^6.10.3",
"wallet-address-validator": "^0.2.4"
},
"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"
}
}