-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
133 lines (133 loc) · 4.36 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
{
"name": "casper-js-sdk",
"version": "2.15.6",
"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",
"browser": "dist/lib.web.js",
"types": "dist/index.d.ts",
"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 -r ts-node/register \"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: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": "rm -rf docs && typedoc",
"docs:watch": "rm -rf docs && typedoc --watch",
"docs:serve": "npm run docs:build && serve docs",
"docs:dev": "concurrently \"npm run docs:watch\" \"serve docs\"",
"prepublishOnly": "npm run build && npm run test:unit"
},
"keywords": [
"Casper",
"BlockChain",
"sdk"
],
"author": "Jan Hoffmann <[email protected]>",
"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/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.5",
"@types/eventsource": "^1.1.15",
"@types/humanize-duration": "^3.18.1",
"@types/lodash": "^4.14.191",
"@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.0",
"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.1",
"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"
},
"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",
"@open-rpc/client-js": "^1.8.1",
"@scure/bip32": "^1.1.5",
"@scure/bip39": "^1.2.0",
"@types/ws": "^8.2.2",
"eventsource": "^2.0.2",
"glob": "^7.1.6",
"humanize-duration": "^3.24.0",
"key-encoder": "^2.0.3",
"lodash": "^4.17.21",
"node-fetch": "2.6.13",
"reflect-metadata": "^0.1.13",
"ts-results": "npm:@casperlabs/ts-results@^3.3.4",
"typedjson": "^1.6.0-rc2"
}
}