-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
84 lines (84 loc) · 2.49 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
{
"name": "xumm",
"version": "1.8.0",
"description": "One Xumm SDK to rule them all (browser, backend, xApp)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "npm run clean && npm run lint && npm run test && npm run build && npm run browserify",
"clean": "rm -rf dist",
"build": "tsc",
"buildsample": "mkdir -p ./sample/dist; cp ./dist/browser.min.js ./sample/dist/",
"serve": "npm run build && npm run browserify && serve -C -n -p 3001 ./",
"watch": "tsc -w",
"inspect": "clear && npm run build && node --inspect dist/samples/sample.js",
"browserify": "browserify --standalone Xumm -r ./dist/index.js:Xumm |sed 's/\\(exports.Xumm = Xumm;\\)/\\1 module.exports = Xumm;/g' > dist/browser.js && npm run minify",
"browserify-watch": "watchify --standalone Xumm -r ./dist/index.js:Xumm --verbose -o 'cat -|sed \"s/\\(exports.Xumm = Xumm;\\)/\\1 module.exports = Xumm;/g\" > dist/browser.js'",
"minify": "cat dist/browser.js | terser --compress --mangle > dist/browser.min.js",
"dev": "DEBUG=xumm* nodemon sample/index.mjs",
"test": "DEBUG=xumm:tests* jest --ci",
"test-verbose": "DEBUG=xumm:tests* jest --ci --verbose",
"lint": "eslint"
},
"engines": {
"npm": ">=7 <=10",
"node": ">=14"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/browser.js",
"dist/browser.min.js"
],
"dependencies": {
"buffer": "^6.0.3",
"events": "^3.3.0",
"xumm-oauth2-pkce": "^2.8.3",
"xumm-sdk": "^1.11.2",
"xumm-xapp-sdk": "^1.7.2"
},
"devDependencies": {
"@types/jest": "^26.0.12",
"@types/node": "^12.12.55",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"browserify": "^16.5.2",
"eslint": "^7.27.0",
"jest": "^26.4.2",
"nodemon": "^3.1.0",
"serve": "^14.1.2",
"terser": "^5.3.4",
"ts-jest": "^26.3.0",
"typescript": "^4.1.0",
"watchify": "^4.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com:XRPL-Labs/Xumm-Universal-SDK.git"
},
"bugs": {
"url": "https://github.com/XRPL-Labs/Xumm-Universal-SDK/issues"
},
"homepage": "https://github.com/XRPL-Labs/Xumm-Universal-SDK/#readme",
"license": "MIT",
"readmeFilename": "README.md",
"keywords": [
"xrp",
"xrpl",
"ledger",
"xumm",
"sdk",
"pkce",
"oauth2",
"client",
"authorization",
"flow",
"auth"
],
"nodemonConfig": {
"ignore": [
"test/*"
],
"delay": 750
}
}