-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 5.54 KB
/
package.json
File metadata and controls
178 lines (178 loc) · 5.54 KB
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
{
"name": "casper-js-sdk",
"version": "5.0.11",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"homepage": "https://github.com/casper-ecosystem/casper-js-sdk#README.md",
"repository": {
"type": "git",
"url": "https://github.com/casper-ecosystem/casper-js-sdk.git"
},
"main": "dist/lib.node.js",
"module": "dist/lib.esm.mjs",
"browser": "dist/lib.web.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/lib.esm.mjs",
"require": "./dist/lib.node.js",
"default": "./dist/lib.node.js"
}
},
"scripts": {
"prepare": "husky-run install",
"lint": "eslint src/ --fix",
"lint:ci": "eslint src/ --max-warnings=0",
"prebuild": "npm run clean && npm run lint",
"build": "webpack --config webpack.config.js",
"clean": "rm -rf ./dist",
"~build": "tsc --watch",
"test:node:unit": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha --require ts-node/register/transpile-only --extension ts \"src/**/*.test.ts\"",
"test:node:unit:node22": "cross-env NODE_ENV=test TS_NODE_FILES=true NODE_OPTIONS=\"--no-experimental-strip-types\" mocha --require ts-node/register/transpile-only --extension ts \"src/**/*.test.ts\"",
"test:node:unit:coverage": "nyc npm run test:node:unit",
"test:browser:unit": "cross-env NODE_ENV=test karma start karma.conf.js --single-run",
"test:unit": "cross-env NODE_ENV=test npm run test:node:unit && npm run test:browser:unit",
"test:esm:smoke": "node ./scripts/esm-smoke-test.mjs",
"test:node:e2e": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register \"e2e/**/*.test.ts\" --timeout 5000000 --exit",
"test:e2e": "cross-env NODE_ENV=test npm run test:node:e2e",
"test": "npm run test:unit && npm run test:e2e",
"docs:build": "cd site && vocs build -o ../docs && cd .. && typedoc --out docs/api",
"docs:dev": "cd site && NODE_OPTIONS=--unhandled-rejections=none vocs dev",
"docs:preview": "cd site && vocs preview",
"prepublishOnly": "npm run build && npm run test:node:unit:node22"
},
"engines": {
"node": ">=18"
},
"keywords": [
"Casper",
"BlockChain",
"sdk"
],
"author": "Jan Hoffmann <jan@casperlabs.io>",
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"git add"
],
"*.{js,css,md}": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@types/bn.js": "^5.1.6",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.5",
"@types/eventsource": "^1.1.15",
"@types/humanize-duration": "^3.18.1",
"@types/mocha": "^5.2.7",
"@types/node": "^14.14.31",
"@types/node-fetch": "^2.6.4",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"assert": "^2.0.0",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"casper-node-launcher-js": "^0.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.1",
"dotenv": "^16.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jsdoc": "^32.2.0",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"https-browserify": "^1.0.0",
"husky": "^4.3.8",
"karma": "^6.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-mocha": "^2.0.1",
"karma-sourcemap-loader": "^0.4.0",
"karma-spec-reporter": "^0.0.36",
"karma-webpack": "^5.0.0",
"lint-staged": "^10.5.4",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^1.18.2",
"process": "^0.11.10",
"serve": "^14.2.0",
"sinon": "^15.0.3",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.2",
"typedoc": "^0.23.25",
"typescript": "^4.9.5",
"url": "^0.11.0",
"util": "^0.12.5",
"webpack": "^5.76.3",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^4.5.0",
"webpack-node-externals": "^2.5.2"
},
"overrides": {
"elliptic": "^6.6.1",
"minimatch": "^10.2.3",
"bn.js": "^5.2.1",
"@types/d3-dispatch": "3.0.6",
"brace-expansion": "^5.0.5",
"@rollup/pluginutils": {
"picomatch": "^4.0.4"
},
"@vanilla-extract/compiler": {
"picomatch": "^4.0.4",
"yaml": "^2.8.3"
},
"tinyglobby": {
"picomatch": "^4.0.4"
},
"vite-node": {
"picomatch": "^4.0.4",
"yaml": "^2.8.3"
},
"vocs": {
"picomatch": "^4.0.4",
"yaml": "^2.8.3"
},
"remark-mdx-frontmatter": {
"yaml": "^2.8.3"
},
"vfile-matter": {
"yaml": "^2.8.3"
}
},
"dependencies": {
"@ethersproject/bignumber": "^5.0.8",
"@ethersproject/bytes": "^5.0.5",
"@ethersproject/constants": "^5.0.5",
"@noble/curves": "^1.1.0",
"@noble/ed25519": "^1.7.3",
"@noble/hashes": "^1.2.0",
"@noble/secp256k1": "^1.7.1",
"@scure/bip32": "^1.1.5",
"@scure/bip39": "^1.2.0",
"@types/ws": "^8.2.2",
"asn1.js": "^5.4.1",
"axios": "^1.8.4",
"bn.js": "^5.2.1",
"eventsource": "^2.0.2",
"glob": "^7.1.6",
"humanize-duration": "^3.24.0",
"node-fetch": "2.6.13",
"reflect-metadata": "^0.1.13",
"ts-results": "npm:@casperlabs/ts-results@^3.3.4",
"typedjson": "^1.6.0-rc2",
"vocs": "^1.4.1"
}
}