-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 1.92 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
{
"name": "@coinversable/validana-node",
"version": "2.2.0",
"description": "The Validana node for verifying blocks and transactions.",
"author": "Coinversable BV",
"homepage": "https://validana.io/",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/Coinversable/validana-node.git"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"keywords": [
"coinversable",
"validana",
"node"
],
"scripts": {
"build": "tsc && tsc --declaration true --emitDeclarationOnly true --removeComments false",
"keys": "node --no-warnings -e \"const PK = require('validana-core').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('validana-core').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()})\"",
"start": "node dist/index.js",
"lint": "eslint .",
"test": "tsc -p src/__tests__/tsconfig.json && nyc jasmine dist/__tests__/**/*.js",
"testall": "tsc -p src/__tests__/tsconfig.json && nyc jasmine dist/__tests__/**/*.js INTEGRATION=true"
},
"dependencies": {
"@coinversable/validana-core": "^2.0.2",
"@types/node": "^16.11.6",
"@types/pg": "^8.6.1",
"pg": "^8.7.1"
},
"devDependencies": {
"@types/jasmine": "^3.10.1",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"eslint-plugin-jsdoc": "^37.0.3",
"typescript": "^4.4.4"
},
"nyc": {
"check-coverage": false,
"all": true,
"include": [
"dist/**/*.js"
],
"exclude": [
"dist/__tests__/**/*.js"
],
"reporter": [
"html",
"text-summary"
],
"temp-dir": "dist/__tests__/.nyc_output",
"report-dir": "dist/__tests__/.coverage"
}
}