/
package.json
199 lines (199 loc) · 6.43 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "@aeternity/aepp-sdk",
"version": "13.3.2",
"description": "SDK for the æternity blockchain",
"main": "dist/aepp-sdk.js",
"types": "es/index.d.ts",
"typesVersions": {
"<4.5": {
"es/index.d.ts": [
"./types-legacy/ts4.2/index.d.ts"
],
"es/index-browser.d.ts": [
"./types-legacy/ts4.2/index-browser.d.ts"
]
},
"<4.7": {
"es/index.d.ts": [
"./types-legacy/ts4.5/index.d.ts"
],
"es/index-browser.d.ts": [
"./types-legacy/ts4.5/index-browser.d.ts"
]
}
},
"module": "es/index.mjs",
"browser": {
"es/index.mjs": "./es/index-browser.mjs",
"dist/aepp-sdk.js": "./dist/aepp-sdk.browser.js"
},
"exports": {
"node": {
"types@<4.5": "./types-legacy/ts4.2/index.d.ts",
"types@<4.7": "./types-legacy/ts4.5/index.d.ts",
"types": "./es/index.d.ts",
"import": "./es/index.mjs",
"default": "./dist/aepp-sdk.js"
},
"types@<4.5": "./types-legacy/ts4.2/index-browser.d.ts",
"types@<4.7": "./types-legacy/ts4.5/index-browser.d.ts",
"types": "./es/index-browser.d.ts",
"import": "./es/index-browser.mjs",
"default": "./dist/aepp-sdk.browser.js"
},
"sideEffects": false,
"scripts": {
"build:assets": "node tooling/fetch-aesophia-cli.mjs && node tooling/fetch-aesophia-cli-8.mjs",
"build:types": "tsc && node tooling/downlevel/run.mjs",
"build:es": "babel src --config-file ./babel.esm.config.js --out-dir es --extensions .js,.ts --out-file-extension .mjs --source-maps true",
"build:api:node": "autorest tooling/autorest/node.yaml",
"build:api:compiler": "node tooling/autorest/compiler-prepare.mjs && autorest tooling/autorest/compiler.yaml",
"build:api:middleware": "node tooling/autorest/middleware-prepare.mjs && autorest tooling/autorest/middleware.yaml",
"build:api": "npm run build:api:node && npm run build:api:compiler && npm run build:api:middleware",
"build:generate": "ts-node --transpileOnly tooling/generate-schema.ts",
"build": "npm run build:api && npm run build:generate && webpack && npm run build:types && npm run build:es && npm run build:assets",
"docs:examples": "node tooling/docs/examples-to-md.js examples/node/*.mjs",
"docs:api": "typedoc",
"commitlint": "commitlint --from develop",
"lint": "npm run lint:types && eslint . --ext .ts,.js,.mjs",
"lint:types": "tsc -p tsconfig.tests.json",
"test": "mocha './test/unit/' './test/integration/'",
"test:integration": "mocha './test/integration/'",
"test:unit": "mocha './test/unit/'",
"test:watch": "mocha './test/unit/' './test/integration/' --watch",
"prepare": "npm run build",
"prepublishOnly": "test/examples.sh",
"release": "standard-version --skip.tag --infile docs/CHANGELOG.md",
"release-alpha": "npm run release -- --prerelease alpha",
"release-beta": "npm run release -- --prerelease beta"
},
"license": "ISC",
"keywords": [
"API",
"aeternity",
"blockchain",
"SDK"
],
"dependencies": {
"@aeternity/aepp-calldata": "^1.7.0",
"@aeternity/argon2": "^0.0.1",
"@aeternity/uuid": "^0.0.1",
"@azure/core-client": "^1.8.0",
"@azure/core-rest-pipeline": "^1.14.0",
"@babel/runtime-corejs3": "^7.24.0",
"@ledgerhq/hw-transport": "^6.30.4",
"@types/aes-js": "^3.1.4",
"@types/json-bigint": "^1.0.4",
"@types/node": "~18.13",
"@types/sha.js": "^2.4.4",
"@types/uuid": "^9.0.8",
"@types/webextension-polyfill": "^0.10.7",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.5.10",
"aes-js": "^3.1.2",
"bignumber.js": "^9.1.2",
"bip32-path": "^0.4.2",
"blakejs": "^1.2.1",
"bs58": "^5.0.0",
"buffer": "^6.0.3",
"canonicalize": "^2.0.0",
"events": "^3.3.0",
"isomorphic-ws": "^5.0.0",
"json-bigint": "^1.0.0",
"process": "^0.11.10",
"rlp": "^3.0.0",
"sha.js": "^2.4.11",
"tweetnacl": "^1.0.3",
"tweetnacl-auth": "^1.0.1",
"varuint-bitcoin": "^1.1.2",
"websocket": "^1.0.34",
"ws": "^8.16.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aeternity/aepp-sdk-js.git"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/node": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@ledgerhq/hw-transport-mocker": "^6.28.4",
"@ledgerhq/hw-transport-node-hid-singleton": "^6.30.4",
"@ledgerhq/hw-transport-webusb": "^6.28.4",
"@types/chai": "^4.3.12",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node-hid": "^1.3.4",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"autorest": "^3.7.1",
"babel-loader": "^9.1.3",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-import-globals": "^2.0.0",
"babel-plugin-transform-default-named-imports": "^1.2.2",
"babel-plugin-transform-import-meta": "^2.2.1",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"downlevel-dts": "github:aeternity/downlevel-dts",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-plugin-rulesdir": "^0.2.2",
"eslint-plugin-tsdoc": "^0.2.17",
"html-webpack-plugin": "^5.6.0",
"mocha": "^10.3.0",
"nyc": "^15.1.0",
"sinon": "^17.0.1",
"source-map": "^0.7.4",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typedoc": "^0.25.11",
"typedoc-plugin-missing-exports": "^2.2.0",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4"
},
"files": [
"dist",
"bin",
"types-legacy",
"src",
"es"
],
"browserslist": {
"node": [
"node >= 14.19"
],
"browser": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
],
"production": [
"node >= 14.19",
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
]
},
"engines": {
"node": ">=14.19.0"
},
"packageManager": "npm@8.19.3",
"contributors": [
"Till Kolter <till.kolter@gmail.com>",
"Alexander Kahl <ak@sodosopa.io>",
"Nazar Duchak <omelko39@gmail.com>",
"Denis Davidyuk <denis_davidyuk@hotmail.com>"
]
}