-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 3.35 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
85
86
87
88
89
{
"name": "@neon-exchange/nash-protocol",
"version": "4.13.7",
"description": "TypeScript implementation of Nash crypto routines",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"sideEffects": false,
"repository": "https://github.com/nash-io/nash-protocol",
"license": "MIT",
"keywords": [],
"scripts": {
"copy:nativewasm": "cp -r src/wasm build/main/wasm && cp src/native/index_osx.node build/main/native && cp src/native/index_arm.node build/main/native && cp src/native/index_linux.node build/main/native && cp src/native/index_win.node build/main/native && cp -r wasm-webpack build/module/wasm && rm -r build/module/mpc-lib && cp -r wasm-webpack build/module/mpc-lib",
"copy:wasm": "cp -r src/wasm build/main/wasm && cp -r wasm-webpack build/module/wasm",
"build": "yarn clean && yarn build:main && yarn build:module && yarn copy:nativewasm",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "yarn fix:prettier && yarn fix:tslint",
"fix:prettier": "prettier \"src/**/*.{ts,json}\" --write --config .prettierrc",
"fix:tslint": "tslint --fix --project .",
"test": "yarn build && yarn test:tests-only",
"test:tests-only": "yarn test:lint && yarn test:tsc && yarn test:unit",
"test:lint": "tslint --project .",
"test:tsc": "tsc -p tsconfig.json --noEmit",
"test:unit": "nyc --silent jest",
"test:unit:coverage": "jest --verbose --coverage",
"watch": "yarn clean && yarn test:unit --watch",
"cov": "yarn build && yarn test:unit && yarn cov:html",
"cov:html": "nyc report --reporter=html",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"docs": "typedoc src",
"version": "standard-version",
"reset": "git clean -dfx && git reset --hard && yarn",
"clean": "rm -rf build test",
"all": "yarn reset && yarn test && yarn cov:check && yarn docs",
"prepare-release": "yarn all && yarn version",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('nash-protocol must be installed with Yarn: https://yarnpkg.com/')\""
},
"engines": {
"node": ">=10"
},
"dependencies": {
"bchaddrjs": "^0.5.2",
"bignumber.js": "8.1.1",
"bip32": "2.0.3",
"bip39": "2.5.0",
"bitcoinjs-lib": "5.0.5",
"bn.js": "5.1.1",
"browserify-aes": "1.2.0",
"bs58": "4.0.1",
"coininfo": "^5.1.0",
"crypto-js": "4.1.1",
"elliptic": "6.5.4",
"ethereumjs-util": "6.1.0",
"futoin-hkdf": "1.0.2",
"int64-buffer": "0.99.1007",
"keccak": "2.0.0",
"lodash": "4.17.21",
"node-fetch": "2.6.0",
"randombytes": "2.1.0",
"scrypt-async": "2.0.1",
"sha3": "2.0.4",
"smart-buffer": "4.2.0",
"tiny-secp256k1": "1.1.3"
},
"devDependencies": {
"@types/crypto-js": "3.1.43",
"@types/elliptic": "6.4.5",
"@types/jest": "23.3.9",
"@types/lodash": "4.14.122",
"@types/node": "^14.14.14",
"@types/randombytes": "2.0.0",
"jest": "23.6.0",
"nyc": "13.1.0",
"prettier": "1.15.2",
"standard-version": "7.0.0",
"ts-jest": "23.10.5",
"tslint": "5.11.0",
"tslint-config-prettier": "1.16.0",
"tslint-immutable": "5.0.0",
"typedoc": "^0.17.4",
"typescript": "^3.8.3"
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
}
}