forked from shardus/lib-net
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.29 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
{
"name": "@shardus/net",
"version": "1.4.0",
"description": "",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"files": [
"src/**/*",
"build/**/*",
"Cargo.*",
"shardus_net/**/*",
"crypto/**/*",
"shardeum_utils/**/*",
"scripts/**/*"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run build-rust-release && npm run build-node",
"build-node": "tsc -p .",
"build-rust": "cargo-cp-artifact --artifact cdylib shardus_net shardus-net.node -- cargo build --message-format=json-render-diagnostics",
"build-rust-debug": "npm run build-rust --",
"build-rust-release": "npm run build-rust -- --release",
"compile": "npm run build-node",
"release": "np --no-cleanup --no-yarn --any-branch",
"prepack": "npm run build-node",
"postinstall": "npm run build-rust",
"it-test": "npm run test:cargo",
"it-test2": "ts-node test/test_lru.ts -p 44001 -c 2",
"test:cargo": "cargo test",
"build:rust": "cargo build --workspace && npm run postbuild-cargo",
"postbuild-cargo": "node scripts/copy-rename.js",
"lint": "eslint \"./src/**/*.ts\"",
"format-check": "prettier --check \"./src/**/*.ts\"",
"format-fix": "prettier --write \"./src/**/*.ts\"",
"clean": "cargo clean",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/shardeum/lib-net.git"
},
"publishConfig": {
"access": "public"
},
"contributors": [
"Aaron Sullivan",
"Derrick Farris",
"Aamir Syed",
"Kyle Shifflett",
"James Harmon"
],
"engines": {
"node": "18.19.1"
},
"dependencies": {
"cargo-cp-artifact": "0.1",
"uuid": "3.3.2"
},
"devDependencies": {
"@ethereumjs/tx": "5.4.0",
"@ethereumjs/util": "9.1.0",
"@types/node": "18.19.1",
"@types/uuid": "7.0.0",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"eslint": "8.47.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-security": "1.7.1",
"eslint-plugin-xss": "0.1.12",
"gts": "3.1.0",
"np": "9.2.0",
"prettier": "2.7.1",
"typescript": "4.4.4",
"@types/jest": "27.0.1",
"jest": "27.1.1",
"ts-jest": "27.0.5"
},
"overrides": {
"got": "11.8.5"
}
}