-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·74 lines (74 loc) · 2.18 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
{
"name": "goodchain",
"version": "3.0.5",
"description": "GoodChain: Blockchain for Everyone",
"main": "index.js",
"type": "module",
"repository": {
"url": "https://github.com/mlibre/GoodChain",
"type": "git"
},
"engines": {
"node": ">=20"
},
"scripts": {
"3000": "tsx ./src/API/app.ts --host 'http://127.0.0.1:3000' --nodes 'http://127.0.0.1:3001' --dbPath './assets/db/' --minerKeysFile './assets/keys/miner.json' --name 'GoodChain'",
"3001": "tsx ./src/API/app.ts --host 'http://127.0.0.1:3001' --nodes 'http://127.0.0.1:3000' --dbPath './assets/db/' --minerKeysFile './assets/keys/miner.json' --name 'GoodChain'",
"3002": "tsx ./src/API/app.ts --host 'http://127.0.0.1:3002' --nodes 'http://127.0.0.1:3000' --dbPath './assets/db/' --minerKeysFile './assets/keys/miner.json' --name 'GoodChain'",
"build": "rm -r dist && tsc",
"watch": "rm -r dist && tsc --watch",
"dev": "tsc && nodemon ./src/API/app.ts",
"start": "tsx ./src/API/app.ts",
"startjs": "node ./src/API/app.js",
"test": "vitest run",
"test-ui": "vitest --ui"
},
"author": "mlibre",
"license": "GPL-3.0-only",
"dependencies": {
"axios": "^1.6.7",
"cookie-parser": "~1.4.4",
"express": "^4.19.2",
"level": "^8.0.1",
"lodash": "^4.17.21",
"minimist": "^1.2.8",
"morgan": "~1.9.1",
"save-dev": "^0.0.1-security",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@eslint/js": "^9.2.0",
"@stylistic/eslint-plugin": "^2.1.0",
"@types/cookie-parser": "^1.4.7",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/level": "^6.0.3",
"@types/lodash": "^4.17.1",
"@types/minimist": "^1.2.5",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.12",
"@types/uuid": "^9.0.8",
"@vitest/ui": "^1.6.0",
"eslint": "^8.57.0",
"globals": "^15.2.0",
"nodemon": "^3.1.0",
"tsx": "^4.10.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vitest": "^1.6.0"
},
"nodemonConfig": {
"watch": [
"src"
],
"execMap": {
"ts": "tsx",
"tsx": "tsx"
},
"events": {
"restart": "tsc",
"start": "tsc"
}
}
}