-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
69 lines (69 loc) · 2.17 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
{
"name": "xrpl-client",
"version": "2.4.0",
"description": "Connect to the XRP Ledger using WebSockets",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"prepare": "npm run clean && npm run lint && npm run build && sleep 2 && npm run test && npm run browserify",
"clean": "rm -rf dist",
"build": "tsc && cat dist/src/index.js | sed 's/\\/\\/ WEBSOCKET \\/\\///g' | sed 's/new websocket_1.w3cwebsocket/new (typeof WssClient !== typeof _NA_ ? WssClient : websocket_1.w3cwebsocket)/g'|tee dist/src/index.js | echo $(wc -l)' lines written'",
"watch": "tsc -w",
"dev": "clear && npm run build && DEBUG=xrplclient* nodemon --watch dist dist/samples/sample.js",
"inspect": "clear && npm run build && node --inspect dist/samples/sample.js",
"browserify": "browserify -r ./dist/src/index.js:xrpl-client -o dist/browser.js && npm run minify",
"minify": "cat dist/browser.js | terser --compress --mangle > dist/browser.min.js",
"test": "DEBUG=xrplclient:tests* jest --ci",
"test-verbose": "DEBUG=xrplclient:tests* jest --ci --verbose",
"lint": "eslint"
},
"files": [
"dist/src/**/*.js",
"dist/src/**/*.d.ts",
"dist/browser.js",
"dist/browser.min.js",
"README.md"
],
"dependencies": {
"debug": "^4.1.1",
"websocket": "^1.0.34"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/jest": "^26.0.12",
"@types/node": "^12.12.55",
"@types/websocket": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"browserify": "^17.0.0",
"eslint": "^7.27.0",
"jest": "^26.4.2",
"terser": "^5.3.4",
"ts-jest": "^26.3.0",
"typescript": "^4.1.0"
},
"repository": {
"type": "git",
"url": "git://github.com:XRPL-Labs/xrpl-client.git"
},
"bugs": {
"url": "https://github.com/XRPL-Labs/xrpl-client/issues"
},
"homepage": "https://github.com/XRPL-Labs/xrpl-client/#readme",
"license": "MIT",
"readmeFilename": "README.md",
"keywords": [
"xrp",
"xrpl",
"ledger",
"websocket",
"ws",
"client"
],
"nodemonConfig": {
"ignore": [
"test/*"
],
"delay": 750
}
}