-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.77 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.77 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@shardeum-foundation/core",
"version": "2.16.0-prerelease.7",
"engines": {
"node": "20.19.3"
},
"description": "The Shardus Global Server",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/*",
"LICENSE",
"LICENSE_SHARDUS",
"SHARDUS_SOFTWARE_LICENSE_2023-02-02.pdf"
],
"config": {
"dist": "./dist"
},
"scripts": {
"lint": "eslint \"./src/**/*.ts\"",
"ensure:node-version": "node -e \"'v' + require('./package.json').engines.node == process.version || process.exit(1)\"",
"clean": "shx rm -rf dist build",
"create:folders": "shx mkdir -p dist",
"compile:ts": "tsc",
"compile:pack": "webpack",
"compile:js": "bytenode -c build/src/index.js",
"release:move:typedocs": "shx mv build/src/index.d.ts dist/",
"release:move:extras": "shx mv build/src/crypto/computePowGenerator.js dist/ && shx cp templates/release.index.js dist/index.js",
"dev:move": "shx mv build/src dist",
"prep": "npm run create:folders",
"np": "np --any-branch --no-cleanup --no-tests --no-yarn --message=\"Bump version to %s\"",
"compile": "npm-run-all compile:*",
"prepare": "npm run build:dev",
"release:move": "npm-run-all release:move:*",
"build:dev": "npm-run-all clean compile:ts dev:move",
"build:release": "npm-run-all clean prep compile release:move",
"release": "npm-run-all ensure:* build:release np",
"check": "gts check",
"fix": "gts fix",
"test": "jest",
"test-watch": "jest --watch",
"depcheck": "depcheck --skip-missing --ignores webpack,webpack-cli,prettier,typescript-eslint,typescript-estree,@mapbox/node-pre-gyp,@types/estree",
"release:prepatch": "npm run prepare && npm version prepatch --preid=prerelease && git push --follow-tags && npm publish --tag prerelease",
"release:preminor": "npm run prepare && npm version preminor --preid=prerelease && git push --follow-tags && npm publish --tag prerelease",
"release:premajor": "npm run prepare && npm version premajor --preid=prerelease && git push --follow-tags && npm publish --tag prerelease",
"release:prerelease": "npm run prepare && npm version prerelease --preid=prerelease && git push --follow-tags && npm publish --tag prerelease",
"release:patch": "npm run prepare && npm version patch && git push --follow-tags && npm publish",
"release:minor": "npm run prepare && npm version minor && git push --follow-tags && npm publish",
"release:major": "npm run prepare && npm version major && git push --follow-tags && npm publish",
"format-check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\"",
"format-fix": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\""
},
"repository": {
"type": "git",
"url": "https://github.com/shardeum/shardus-core.git"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@shardeum-foundation/lib-crypto-utils": "4.3.2",
"@shardeum-foundation/lib-net": "1.6.1",
"@shardeum-foundation/lib-types": "1.4.2",
"@hapi/sntp": "3.1.1",
"@mapbox/node-pre-gyp": "1.0.10",
"@types/better-sqlite3": "7.6.3",
"body-parser": "1.18.3",
"bytenode": "1.3.4",
"cors": "2.8.5",
"deepmerge": "4.2.2",
"express": "4.19.2",
"got": "11.8.6",
"log4js": "6.9.1",
"log4js-extend": "0.2.1",
"nat-api": "timadinorth/nat-api#appsec-dep-fix",
"neverthrow": "6.0.0",
"rfdc": "1.4.1",
"socket.io": "2.5.0",
"sqlite3": "5.1.6",
"streamroller": "3.1.3",
"tar-fs": "2.1.0",
"trie-prefix-tree": "1.5.1"
},
"devDependencies": {
"@types/cors": "2.8.6",
"@types/estree": "1.0.1",
"@types/express": "4.17.21",
"@types/got": "9.6.9",
"@types/jest": "27.0.1",
"@types/node": "18.19.1",
"@types/socket.io": "2.1.11",
"@types/sqlite3": "3.1.8",
"@types/tar-fs": "1.16.2",
"@types/trie-prefix-tree": "1.5.0",
"@typescript-eslint/eslint-plugin": "5.48.0",
"@typescript-eslint/parser": "5.48.0",
"bytenode-webpack-plugin": "1.0.5",
"depcheck": "1.4.3",
"eslint": "8.31.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-security": "1.5.0",
"eslint-plugin-xss": "0.1.12",
"gts": "3.1.1",
"jest": "27.1.1",
"np": "9.2.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.1",
"replace-in-file": "6.3.5",
"shx": "0.3.4",
"ts-jest": "27.0.5",
"typescript": "4.9.4",
"typescript-eslint": "0.0.1-alpha.0",
"typescript-estree": "18.1.0",
"webpack": "5.94.0",
"webpack-cli": "4.9.2",
"webpack-node-externals": "1.7.2"
},
"overrides": {
"qs": "6.11.2",
"ip": "2.0.1",
"@hapi/hoek": "8.5.1",
"xml2js": "0.5.0",
"debug": "4.3.4",
"engine.io": "3.6.1",
"@babel/traverse": "7.23.2",
"tough-cookie": "4.1.3",
"postcss": "8.4.31"
}
}