-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
92 lines (92 loc) · 6.01 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
{
"name": "@republik/plattform",
"version": "0.0.0",
"private": true,
"workspaces": {
"packages": [
"docs",
"apps/*",
"packages/*",
"packages/mdast/*",
"packages/backend-modules/*"
],
"nohoist": [
"styleguide/slate",
"styleguide/slate-*",
"**/zod"
]
},
"scripts": {
"prepare": "turbo run prepare",
"test": "turbo run test",
"start": "scripts/start.sh",
"start:scheduler": "cd apps/api && yarn start:scheduler",
"build": "scripts/build.sh",
"build:cnb": "node packages/container-builder/index.js",
"dev": "turbo run dev --parallel --concurrency=100",
"dev:docs": "turbo run dev --filter=@republik/docs...",
"dev:www": "turbo run dev --filter=@orbiting/www-app...",
"dev:www-api": "turbo run dev --filter=@orbiting/www-app --filter=@orbiting/api-app --concurrency=100",
"dev:api": "turbo run dev --filter=@orbiting/api-app... --concurrency=100",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"heroku-prebuild": "scripts/prune.sh",
"heroku-postbuild": "scripts/build.sh && scripts/heroku-postbuild.sh",
"heroku-cleanup": "scripts/heroku-cleanup.sh",
"dev:setup": "yarn migrate:db:create && yarn migrate:up && yarn migrate:db:import && yarn pull:elasticsearch --flush && yarn populate",
"pull:elasticsearch": "packages/backend-modules/search/script/pullElasticsearch.js",
"pull:images": "packages/backend-modules/publikator/script/copyImages.js",
"populate:membershipStats:evolution": "packages/backend-modules/republik/script/MembershipStats/evolution/populate.js",
"populate:membershipStats:lastSeen": "packages/backend-modules/republik/script/MembershipStats/lastSeen/populate.js",
"populate:membershipStats:ages": "packages/backend-modules/republik/script/MembershipStats/ages/populate.js",
"populate:revenueStats:segments": "packages/backend-modules/republik/script/RevenueStats/segments/populate.js",
"populate:collections:evolution": "packages/backend-modules/collections/script/stats/evolution.js",
"populate:collections:last": "packages/backend-modules/collections/script/stats/last.js",
"populate:discussions:evolution": "packages/backend-modules/discussions/script/stats/evolution.js",
"populate:discussions:last": "packages/backend-modules/discussions/script/stats/last.js",
"populate:membershipStats:names": "packages/backend-modules/republik/script/MembershipStats/names/populate.js",
"populate:membershipStats:geo": "packages/backend-modules/republik/script/MembershipStats/geo/populate.js",
"populate:membershipStats:geoCities": "packages/backend-modules/republik/script/MembershipStats/geoCities/populate.js",
"populate": "yarn populate:membershipStats:evolution; yarn populate:membershipStats:lastSeen; yarn populate:membershipStats:geoCities; yarn populate:revenueStats:segments; yarn populate:collections:evolution; yarn populate:collections:last; yarn populate:discussions:evolution; yarn populate:discussions:last; yarn populate:membershipStats:ages; yarn populate:membershipStats:names; yarn populate:membershipStats:geo;",
"migrate:db:create": "packages/backend-modules/migrations/script/db/create.js",
"migrate:db:import": "packages/backend-modules/migrations/script/db/import.js",
"migrate:create": "packages/backend-modules/migrations/script/create.js",
"migrate:up": "DOTENV_CONFIG_PATH=apps/api/.env NODE_OPTIONS='-r dotenv/config' db-migrate up --migrations-dir packages/backend-modules/migrations/migrations",
"migrate:down": "DOTENV_CONFIG_PATH=apps/api/.env NODE_OPTIONS='-r dotenv/config' db-migrate down --migrations-dir packages/backend-modules/migrations/migrations --verbose",
"heroku:migrate:up": "db-migrate up --migrations-dir packages/backend-modules/migrations/migrations",
"db:seed": "packages/backend-modules/republik-crowdfundings/seeds/script/seed.js",
"notifications:send": "cd packages/backend-modules/republik && node ../push-notifications/script/sendNotification.js",
"auth:role:user": "node packages/backend-modules/auth/script/roleUser",
"auth:role:users": "node packages/backend-modules/auth/script/roleUsers",
"yaproxy": "CORS_ORIGIN=http://localhost:3010,http://localhost:3000,http://localhost:3005,http://localhost:3006 PORT=5010 TARGET=https://api.republik.ch yaproxy",
"yaproxy:staging": "CORS_ORIGIN=http://localhost:3010,http://localhost:3000,http://localhost:3005,http://localhost:3006 PORT=5010 TARGET=https://api.republik.love yaproxy",
"yaproxy:staging-r25": "CORS_ORIGIN=http://localhost:3010,http://localhost:3000,http://localhost:3005,http://localhost:3006 PORT=5010 TARGET=https://api-r25.republik.love yaproxy",
"yaproxy:staging-kufo": "CORS_ORIGIN=http://localhost:3010,http://localhost:3000,http://localhost:3005,http://localhost:3006 PORT=5010 TARGET=https://api.kufo.republik.love yaproxy",
"yaproxy:android": "COOKIE_DOMAIN_REWRITE=*:10.0.2.2 CORS_ORIGIN=http://10.0.2.2:3010 PORT=5010 TARGET=https://api.republik.ch yaproxy",
"yaproxy:android-staging": "COOKIE_DOMAIN_REWRITE=*:10.0.2.2 CORS_ORIGIN=http://10.0.2.2:3010 PORT=5010 TARGET=https://api.republik.love yaproxy",
"yaproxy:android-kufo": "COOKIE_DOMAIN_REWRITE=*:10.0.2.2 CORS_ORIGIN=http://10.0.2.2:3010 PORT=5010 TARGET=https://api.kufo.republik.love yaproxy",
"ngrok:start": "ngrok start republik-frontend republik-backend --region=eu",
"stripe:forward-webhooks": "stripe listen --latest --forward-to localhost:5010/payments/stripe",
"geoip:download": "scripts/download-geoip-data.sh",
"gen:module": "packages/backend-modules/gen-backend-module/index.js new backend-module"
},
"devDependencies": {
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"prettier": "^2.5.1",
"turbo": "^1.13.0",
"typescript": "^5.6.2",
"yaproxy": "^1.0.2"
},
"engines": {
"node": "^20.0.0"
},
"packageManager": "[email protected]",
"resolutions": {
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.6.2"
}
}