-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.42 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "kadocoin",
"version": "1.0.0",
"description": "Kadocoin is a decentralized censure-resistant peer-to-peer digital currency and asset",
"main": "dist/server.js",
"scripts": {
"dev": "cross-env IP_ADDRESS='192.168.0.2' nodemon --watch src/ --watch debug.log --exec ts-node src/server.ts",
"test-watch": "jest --colors --watch",
"test-watchAll": "jest --colors --watchAll",
"average-work": "nodemon --watch src/ --watch debug.log --exec ts-node src/util/average-work.ts",
"tinker": "nodemon --watch src/ --watch debug.log --exec ts-node src/tinker.ts",
"supply": "nodemon --watch src/ --watch debug.log --exec ts-node src/util/supply_reward/index.ts",
"dev-peer": "cross-env GENERATE_DEV_PEER_PORT='true' nodemon --watch src/ --watch debug.log --exec ts-node src/server.ts",
"dev-abuja": "cross-env DEV_MACHINE='abuja' nodemon --watch src/ --watch debug.log --exec ts-node src/server.ts",
"dev-ubuntu": "cross-env DEV_MACHINE='ubuntu' nodemon --watch src/ --watch debug.log --exec ts-node src/server.ts",
"dev-bauchi": "cross-env DEV_MACHINE='bauchi' nodemon --watch src/ --watch debug.log --exec ts-node src/server.ts",
"lint": "eslint --ext .ts --fix",
"lint:fix": "eslint . --fix",
"clean": "rimraf dist/",
"build": "yarn clean && tsc",
"start": "cross-env process.env.NODE_ENV='production' nodemon dist/server.js --watch dist/debug.log",
"test": "jest --bail --findRelatedTests",
"prepare-husky": "husky install",
"format": "prettier --write",
"license": "license-check-and-add add -f license.config.json"
},
"keywords": [
"kadocoin",
"crypto",
"p2p",
"kado village",
"cryptography"
],
"author": "Adamu Muhammad Dankore",
"license": "MIT",
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"elliptic": "^6.5.4",
"express": "^4.17.1",
"flaschenpost": "^5.0.49",
"hex-to-bin": "^1.0.1",
"joi": "^17.4.0",
"level": "^7.0.1",
"p2p": "^0.10.2",
"public-ip": "^4.0.4",
"request": "^2.88.2",
"swagger-ui-express": "^4.1.6",
"typescript": "^3.7.4",
"uuid": "^8.3.2",
"web3": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.10",
"@types/elliptic": "^6.4.12",
"@types/express": "^4.17.12",
"@types/jest": "^26.0.23",
"@types/joi": "^17.2.3",
"@types/level": "^6.0.0",
"@types/node": "^15.12.5",
"@types/nodemon": "^1.19.0",
"@types/public-ip": "^3.1.0",
"@types/request": "^2.48.5",
"@types/swagger-jsdoc": "^6.0.0",
"@types/swagger-ui-express": "^4.1.2",
"@types/typescript": "^2.0.0",
"@types/uuid": "^8.3.0",
"@types/web3": "^1.2.2",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"babel-jest": "^27.0.6",
"eslint": "^7.29.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"jest": "^27.0.6",
"license-check-and-add": "^4.0.2",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn format",
"yarn lint"
]
}
}