-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.82 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 4.82 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
{
"name": "keyserver",
"version": "0.0.1",
"type": "module",
"private": true,
"license": "BSD-3-Clause",
"main": "dist/keyserver",
"scripts": {
"clean": "rm -rf dist/ && rm -rf node_modules/ && mkdir dist",
"babel-build-comm-config": ". bash/source-nvm.sh && yarn --silent babel src/lib/utils/comm-config.js --out-dir dist/lib/utils/ --config-file ./.babelrc.cjs",
"babel-build": ". bash/source-nvm.sh && yarn --silent babel src/ --out-dir dist/ --config-file ./.babelrc.cjs --verbose --ignore 'src/landing/flow-typed','src/landing/node_modules','src/landing/package.json','src/lib/flow-typed','src/lib/node_modules','src/lib/package.json','src/web/flow-typed','src/web/node_modules','src/web/package.json','src/web/dist','src/web/webpack.config.js','src/web/account-bar.react.js','src/web/app.react.js','src/web/calendar','src/web/chat','src/web/flow','src/web/loading-indicator.react.js','src/web/modals','src/web/root.js','src/web/router-history.js','src/web/script.js','src/web/selectors/chat-selectors.js','src/web/selectors/entry-selectors.js','src/web/splash','src/web/vector-utils.js','src/web/vectors.react.js'",
"rsync": "rsync -rLpmuv --exclude '*/package.json' --exclude '*/node_modules/*' --include '*.json' --include '*.cjs' --include '*.node' --exclude '*.*' src/ dist/",
"prod-build": "yarn babel-build && yarn rsync",
"prod": "KEYSERVER=true node --trace-warnings --loader=./loader.mjs dist/keyserver",
"profile-prod": "KEYSERVER=true KEYSERVER_CPU_PROFILING_ENABLED=true 0x --output-dir cpu_profiling_logs/{pid}.0x -o -- node --trace-warnings --loader=./loader.mjs dist/keyserver",
"clear-profile-logs": "rm -rf cpu_profiling_logs/",
"dev-rsync": "yarn --silent chokidar --initial --silent -s 'src/**/*.json' 'src/**/*.cjs' -c 'yarn rsync > /dev/null 2>&1'",
"dev": ". bash/source-nvm.sh && yarn concurrently --names=\"BABEL,RSYNC,NODEM\" -c \"bgBlue.bold,bgMagenta.bold,bgGreen.bold\" \"yarn babel-build --source-maps --watch\" \"yarn dev-rsync\" \". bash/source-nvm.sh && KEYSERVER=true NODE_ENV=development nodemon -e js,json,cjs --watch dist --no-warnings=ExperimentalWarning --loader=./loader.mjs dist/keyserver\"",
"dev-log-metrics": "KEYSERVER_ENDPOINT_METRICS_ENABLED=true yarn dev",
"script": ". bash/source-nvm.sh && NODE_ENV=development node --loader=./loader.mjs",
"test": "jest"
},
"devDependencies": {
"0x": "^5.7.0",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/node": "^7.22.19",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
"@babel/plugin-transform-object-rest-spread": "^7.23.4",
"@babel/plugin-transform-optional-chaining": "^7.23.4",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"babel-jest": "^29.7.0",
"babel-plugin-transform-import-meta": "2.2.1",
"chokidar-cli": "^2.1.0",
"concurrently": "^5.3.0",
"flow-bin": "^0.202.1",
"flow-typed": "^3.2.1",
"internal-ip": "4.3.0",
"jest": "^29.7.0",
"nodemon": "^2.0.4"
},
"dependencies": {
"@babel/runtime": "^7.23.7",
"@commapp/olm": "0.1.0",
"@parse/node-apn": "^3.2.0",
"@vingle/bmp-js": "^0.2.5",
"bad-words": "^3.0.4",
"common-tags": "^1.7.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.3",
"cors": "^2.8.5",
"dateformat": "^3.0.3",
"detect-browser": "^4.0.4",
"ethers": "^5.7.2",
"express": "^4.17.3",
"express-ws": "^4.0.0",
"firebase-admin": "^10.1.0",
"geoip-lite": "^1.4.5",
"invariant": "^2.2.4",
"landing": "0.0.1",
"lib": "0.0.1",
"lodash": "^4.17.21",
"multer": "^1.4.1",
"mysql2": "^2.3.3",
"natural": "^6.2.0",
"node-schedule": "^2.1.0",
"nodemailer": "^6.9.9",
"qrcode": "^1.5.3",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-html-email": "^3.0.0",
"react-redux": "^7.1.1",
"react-router": "^5.2.0",
"redis": "^3.1.1",
"redux": "^4.0.4",
"rereadable-stream": "^1.4.5",
"rust-node-addon": "0.0.1",
"sharp": "^0.30.5",
"siwe": "^1.1.6",
"sql-template-strings": "^2.2.2",
"tcomb": "^3.2.29",
"twin-bcrypt": "^2.1.1",
"uuid": "^3.4.0",
"web": "0.0.1",
"web-push": "^3.5.0",
"ws": "^8.13.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.5",
"utf-8-validate": "^5.0.7"
},
"nodemonConfig": {
"delay": "200"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"\\.js$": [
"babel-jest",
{
"rootMode": "upward"
}
]
},
"transformIgnorePatterns": [
"/node_modules/(?!@babel/runtime)"
],
"setupFiles": [
"<rootDir>/jest-setup.js"
]
}
}