-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
126 lines (126 loc) · 4 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@ltonetwork/lto",
"version": "0.0.0",
"description": "Client library for LTO Network - Hybrid blockchain",
"repository": "https://github.com/ltonetwork/lto-api.js",
"homepage": "https://docs.ltonetwork.com/libraries/javascript",
"bugs": "https://github.com/ltonetwork/lto-api.js/issues",
"scripts": {
"clean": "rm -rf ./lib ./dist",
"build": "webpack --mode production",
"precompile": "rm -rf ./lib",
"compile": "tsc -p ./tsconfig.types.json && tsc -p ./tsconfig.cjs.json && tsc -p ./tsconfig.esm.json",
"postcompile": "node ./scripts/esm-postcompile.js ./lib/esm",
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "eslint src --ext .ts,.tsx",
"lint-fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\""
},
"author": "LTO Network",
"license": "MIT",
"files": [
"lib",
"src",
"src/types/interfaces.d.ts"
],
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
},
"./accounts": {
"types": "./lib/types/accounts/index.d.ts",
"require": "./lib/cjs/accounts/index.js",
"import": "./lib/esm/accounts/index.js",
"default": "./lib/esm/accounts/index.js"
},
"./errors": {
"types": "./lib/types/errors/index.d.ts",
"require": "./lib/cjs/errors/index.js",
"import": "./lib/esm/errors/index.js",
"default": "./lib/esm/errors/index.js"
},
"./events": {
"types": "./lib/types/events/index.d.ts",
"require": "./lib/cjs/events/index.js",
"import": "./lib/esm/events/index.js",
"default": "./lib/esm/events/index.js"
},
"./identities": {
"types": "./lib/types/identities/index.d.ts",
"require": "./lib/cjs/identities/index.js",
"import": "./lib/esm/identities/index.js",
"default": "./lib/esm/identities/index.js"
},
"./messages": {
"types": "./lib/types/messages/index.d.ts",
"require": "./lib/cjs/messages/index.js",
"import": "./lib/esm/messages/index.js",
"default": "./lib/esm/messages/index.js"
},
"./node": {
"types": "./lib/types/node/index.d.ts",
"require": "./lib/cjs/node/index.js",
"import": "./lib/esm/node/index.js",
"default": "./lib/esm/node/index.js"
},
"./transactions": {
"types": "./lib/types/transactions/index.d.ts",
"require": "./lib/cjs/transactions/index.js",
"import": "./lib/esm/transactions/index.js",
"default": "./lib/esm/transactions/index.js"
},
"./utils": {
"types": "./lib/types/utils/index.d.ts",
"require": "./lib/cjs/utils/index.js",
"import": "./lib/esm/utils/index.js",
"default": "./lib/esm/utils/index.js"
},
"./types": "./lib/types/index.d.ts",
"./constants": "./lib/constants.js",
"./package.json": "./package.json"
},
"dependencies": {
"@noble/curves": "^1.0.0",
"@noble/hashes": "^1.3.0",
"@scure/base": "^1.1.1",
"@scure/bip32": "^1.3.0",
"@scure/bip39": "^1.2.0",
"bech32": "^2.0.0",
"crypto-js": "^4.1.1",
"ed2curve": "^0.3.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/crypto-js": "^4.1.1",
"@types/ed2curve": "^0.2.2",
"@types/mocha": "^2.2.43",
"@types/node": "^18.16.9",
"@types/sinon": "^4.3.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"chai": "^4.3.4",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.7",
"requirejs": "2.3.6",
"sinon": "15.0.4",
"ts-api-validator": "3.0.1",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"ts-utils": "6.1.0",
"tslib": "2.5.0",
"typescript": "^5.0.4",
"webpack": "5.80.0",
"webpack-cli": "5.0.1"
},
"engines": {
"node": ">=16.0.0"
}
}