forked from galtproject/geesome-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 6.08 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
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
131
132
133
134
{
"name": "geesome-node",
"version": "0.3.0",
"description": "",
"main": "index.ts",
"private": true,
"engines": {
"node": ">=18"
},
"scripts": {
"start": "yarn --no-optional -W && DEBUG=geesome* ./node_modules/.bin/ts-node ./index.ts",
"in-docker-start": "cd /geesome-node && yarn --no-optional -W && cp -R /geesome-node/node_modules/@geesome/ui/* /geesome-node/frontend/docker-dist/ && npm run migrate-database; npm run ssg-migrate-database; npm run sci-migrate-database; npm run group-migrate-database; npm run start",
"recreate-database": "dropdb geesome_node && createdb geesome_node",
"recreate-test-database": "dropdb geesome_test && createdb geesome_test",
"migrate-database": "( cd app/modules/database && ../../../node_modules/.bin/ts-node ./writeMigrationConfig.ts && NODE_ENV=production ../../../node_modules/.bin/sequelize db:migrate)",
"create-migration": "./node_modules/.bin/sequelize migration:generate --migrations-path app/modules/socNetImport/migrations --name",
"group-migrate-database": "( cd app/modules/group && ../../../node_modules/.bin/ts-node ./writeMigrationConfig.ts && NODE_ENV=production ../../../node_modules/.bin/sequelize db:migrate)",
"group-create-migration": "./node_modules/.bin/sequelize migration:generate --migrations-path app/modules/group/migrations --name",
"ssg-migrate-database": "( cd app/modules/staticSiteGenerator && ../../../node_modules/.bin/ts-node ./writeMigrationConfig.ts && NODE_ENV=production ../../../node_modules/.bin/sequelize db:migrate)",
"ssg-create-migration": "./node_modules/.bin/sequelize migration:generate --migrations-path app/modules/staticSiteGenerator/migrations --name",
"sci-migrate-database": "( cd app/modules/socNetImport && ../../../node_modules/.bin/ts-node ./writeMigrationConfig.ts && NODE_ENV=production ../../../node_modules/.bin/sequelize db:migrate)",
"sci-create-migration": "./node_modules/.bin/sequelize migration:generate --migrations-path app/modules/socNetImport/migrations --name",
"rollback-migration": "( cd app/modules/database && ../../../node_modules/.bin/ts-node ./writeMigrationConfig.ts && NODE_ENV=production ../../../node_modules/.bin/sequelize db:migrate:undo)",
"check-perfomance": "npm run recreate-test-database; rm -rf ./.jsipfs-test; ts-node check/geesomePerfomance.ts --trace_gc",
"check-client-perfomance": "node --max-old-space-size=4096 -- node_modules/.bin/ts-node -P tsconfig.json check/geesomeClientPerfomance.ts",
"generate-docs": "./node_modules/.bin/apidoc -i app/modules/api -o docs -t node_modules/apidoc-template/template && ./node_modules/.bin/http-server ./docs",
"test": "rm -rf database-test.sqlite; rm -rf test-data/*.sqlite; rm -rf ./.jsipfs-test; GATEWAY_PORT=2083 PORT=7772 SSG_RUNTIME=1 DEBUG=geesome* DATA_DIR=test-data ./node_modules/.bin/mocha --exit -r ts-node/register 'test/**/*.test.ts' -t 10000",
"testCoverage": "./node_modules/.bin/nyc -r lcov -e .ts -x \"*.test.ts\" ./node_modules/.bin/mocha -r ts-node/register test/**/*.test.ts && nyc report",
"docker": "STORAGE_STAGING=$PWD/.docker-data/ipfs-staging STORAGE_DATA=$PWD/.docker-data/ipfs GEESOME_DATA=$PWD/.docker-data/geesome-data GEESOME_FRONTEND_DIST=$PWD/.docker-data/geesome-frontend docker-compose up",
"docker-build": "bash/docker-build.sh",
"docker-upgrade": "bash/docker-rebuild-and-upgrade.sh"
},
"author": "",
"license": "ISC",
"workspaces": [
"./app/modules/staticSiteGenerator/site"
],
"dependencies": {
"@microlink/youtube-dl": "https://github.com/przemyslawpluta/node-youtube-dl#05ecd7f",
"@revoinc/async-busboy": "^2.0.3",
"@types/es6-promise": "^3.3.0",
"axios": "^0.21.1",
"bcrypt": "^5.0.0",
"bl": "^5.0.0",
"body-parser": "^1.19.0",
"busboy": "^1.6.0",
"cheerio": "^1.0.0-rc.10",
"cids": "^0.7.0",
"cookie-parser": "^1.4.4",
"cross-blob": "^2.0.0",
"crypto-js": "^4.1.1",
"debug": "^4.1.0",
"dotenv": "^16.1.4",
"ethers": "^4.0.25",
"express-bearer-token": "^2.4.0",
"express-mysql-session": "^2.1.0",
"express-session": "^1.16.1",
"express-session-sequelize": "^2.0.0",
"filecoin.js": "^0.0.5-alpha",
"fluent-ffmpeg": "^2.1.2",
"fs": "0.0.1-security",
"geesome-libs": "https://github.com/galtproject/geesome-libs#bd48910",
"@geesome/ui": "0.1.0",
"ipfs-http-client": "52.0.3",
"http-proxy-agent": "^2.1.0",
"ipfs": "0.58.4",
"keccak": "^3.0.3",
"lodash": "^4.17.13",
"markdown-it": "^12.2.0",
"mime": "1.6.0",
"morgan": "^1.9.1",
"node-cron": "^2.0.3",
"node-fetch": "^2.6.1",
"node-mediainfo": "^1.0.3",
"node-telegram-bot-api": "^0.61.0",
"p-iteration": "^1.1.8",
"passport": "^0.6.0",
"passport-local": "^1.0.0",
"pg": "^7.0.0",
"pg-hstore": "^2.3.3",
"request": "^2.88.0",
"restana": "^3.1.0",
"rimraf": "^3.0.2",
"sass": "^1.43.4",
"sass-loader": "^12.3.0",
"sequelize": "^6.32.0",
"sequelize-cli": "6.2.0",
"serve-static": "^1.14.1",
"sharp": "^0.32.4",
"sqlite3": "^5.0.2",
"telegram": "2.17.10",
"tesseract.js": "^4.1.0",
"ts-node": "^10.9.1",
"twitter-api-v2": "^1.12.3",
"typedarray-to-buffer": "^3.1.5",
"typescript": "^5.0.4",
"unzip-stream": "^0.3.0",
"uuid-apikey": "^1.4.3",
"vue": "^3.2.47",
"vue-feather-icons": "^5.1.0",
"vue-router": "4.0.16",
"xml": "^1.0.1"
},
"devDependencies": {
"@ctx-core/object": "^22.1.3",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"apidoc": "^0.18.0",
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"geesome-apidoc-plugin-ts": "1.0.3",
"geesome-apidoc-template": "1.0.0",
"http-server": "^0.12.0",
"lerna": "^3.22.1",
"mocha": "^5.2.0",
"typings": "^2.1.1"
},
"size": "",
"deploymentStrategy": "",
"lbType": "internal",
"elbIdleTimeoutSeconds": 0,
"secretFileMounts": [],
"protocolGroup": "",
"scaling": {},
"liveness": {},
"readiness": {},
"ports": [],
"build": {},
"credentialRequests": {},
"environmentVariables": {},
"k8s_service_names": [],
"ingress_rules": [],
"resourceAllocationStrategy": ""
}