-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
76 lines (76 loc) · 2.21 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
{
"name": "@coinversable/validana-client",
"version": "2.2.0",
"description": "The client for Validana to connect to the Server.",
"author": "Coinversable BV",
"homepage": "https://validana.io/",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/Coinversable/validana-client.git"
},
"main": "dist/index.js",
"browser": {
"ws": false,
"crypto": false
},
"keywords": [
"coinversable",
"validana",
"client",
"api",
"frontend"
],
"scripts": {
"lint": "eslint .",
"keys": "node --no-warnings -e \"const PK = require('./dist/key.js').PrivateKey; const key = process.argv[1] ? PK.fromWIF(process.argv[1]) : PK.generate(); console.log(key.toWIF(), key.publicKey.toString('hex'), key.getAddress())\"",
"keysjson": "node --no-warnings -pe \"const PK = require('./dist/key.js').PrivateKey; const key = process.argv[1] ? PK.fromWIF(process.argv[1]) : PK.generate(); JSON.stringify({privateKey: key.toWIF(), publicKey: key.publicKey.toString('hex'), address: key.getAddress()})\"",
"build": "tsc && tsc --declaration true --emitDeclarationOnly true --removeComments false && browserify src/index.ts --plugin=tsify --standalone Validana | terser -c -o dist/bundle.js",
"test": "tsc -p src/__tests__/tsconfig.json && nyc jasmine dist/__tests__/**/*.js"
},
"files": [
"dist",
"!dist/bundle.js",
"!dist/__tests__"
],
"dependencies": {
"@types/ecurve": "^1.0.0",
"@sentry/browser": "6.13.3",
"bigi": "^1.4.2",
"buffer": "^6.0.3",
"create-hash": "^1.2.0",
"ecurve": "^1.0.6",
"events": "^3.0.0",
"ws": "^8.2.3"
},
"devDependencies": {
"@types/jasmine": "^3.10.1",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"browserify": "^17.0.0",
"eslint": "^8.1.0",
"eslint-plugin-jsdoc": "^37.0.3",
"eslint-plugin-prefer-arrow": "^1.2.2",
"terser": "^5.9.0",
"tsify": "^5.0.2",
"typescript": "^4.4.4"
},
"nyc": {
"sourceMap": false,
"check-coverage": false,
"all": true,
"include": [
"dist/**/*.js"
],
"exclude": [
"dist/__tests__/**/*.js",
"dist/bundle.js"
],
"reporter": [
"html",
"text-summary"
],
"temp-dir": "dist/__tests__/.nyc_output",
"report-dir": "dist/__tests__/.coverage"
}
}