-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 5.39 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
{
"name": "media-template",
"version": "0.0.1",
"private": true,
"author": "Axinom",
"license": "MIT",
"keywords": [
"axinom",
"mosaic",
"axinom mosaic"
],
"workspaces": [
"services/*/*",
"libs/*"
],
"scripts": {
"setup": "wsrun -tm setup",
"build": "wsrun -tm -x vod-to-live-service -x channel-service -x channel-workflows build",
"build:all": "wsrun -tm build",
"clean": "wsrun -tm -x vod-to-live-service -x channel-service -x channel-workflows clean",
"clean:all": "wsrun -tm clean",
"reset": "rimraf **/node_modules && yarn",
"quick-deploy": "yarn util:load-vars ts-node ./scripts/quick-deploy-service.ts",
"lint": "eslint \"{services,libs}/**/src/**/*.{ts,tsx,js}\" --fix",
"dev:libs": "wsrun -p '*-messages' -c dev",
"dev:services": "wsrun -p '*-service' -x vod-to-live-service -x channel-service -c dev",
"dev:services:all": "wsrun -p '*-service' -c dev",
"dev:workflows": "yarn util:portal-version-check && yarn util:load-vars cross-env-shell pilet debug 'services/[!channel]*/workflows/src/index.tsx' --feed '\\$MICRO_FRONTEND_SERVICE_BASE_URL/v1/pilets/\\$TENANT_ID/\\$ENVIRONMENT_ID' --port 10053",
"dev:workflows:all": "yarn util:portal-version-check && yarn util:load-vars cross-env-shell pilet debug 'services/*/workflows/src/index.tsx' --feed '\\$MICRO_FRONTEND_SERVICE_BASE_URL/v1/pilets/\\$TENANT_ID/\\$ENVIRONMENT_ID' --port 10054",
"dev:workflows:local": "pilet debug 'services/[!channel]*/workflows/src/index.tsx' --port 10053",
"dev:workflows:local:all": "pilet debug 'services/*/workflows/src/index.tsx' --port 10054",
"dev:workflows:local:managed": "pilet debug 'services/*/workflows/src/index.tsx' --feed 'http://localhost:10051/$pilet-api' --port 10053",
"test": "yarn util:load-vars jest -c jest.config.ts --silent",
"test:ci": "jest --silent --reporters=default --reporters=jest-junit --coverage --coverageReporters=cobertura",
"test:reset:dbs": "wsrun -sm test:reset:dbs",
"test:create:dbs": "wsrun -sm test:create:dbs",
"db:reset": "wsrun -sm db:reset",
"db:update-schema": "wsrun -sm db:update-schema",
"apply-templates": "mosaic apply-templates",
"apply-all-templates": "mosaic apply-templates --replace",
"infra:up": "yarn util:load-vars docker-compose -f ./infra/docker-compose.yml up -d",
"infra:down": "yarn util:load-vars docker-compose -f ./infra/docker-compose.yml down",
"util:load-vars": "env-cmd -f .env",
"util:portal-version-check": "ts-node --transpile-only scripts/package-version-check.ts",
"util:update-packages": "yarn upgrade-interactive && ts-node ./scripts/sync-package-jsons.ts && yarn",
"util:update-mosaic-packages": "ts-node ./scripts/update-mosaic-packages.ts",
"util:update-snippets": "mosaic generate-vscode-sql-snippets",
"build:media-service:prod": "yarn && wsrun -trm -p media-service -c build && yarn install --prod",
"build:catalog-service:prod": "yarn && wsrun -trm -p catalog-service -c build && yarn install --prod",
"build:entitlement-service:prod": "yarn && wsrun -trm -p entitlement-service -c build && yarn install --prod",
"build:channel-service:prod": "yarn && wsrun -trm -p channel-service -c build && yarn install --prod",
"build:vod-to-live-service:prod": "yarn && wsrun -trm -p vod-to-live-service -c build && yarn install --prod",
"build:media-workflows:prod": "yarn && wsrun -trm -p media-workflows -c build && pilet pack services/media/workflows",
"build:channel-workflows:prod": "yarn && wsrun -trm -p channel-workflows -c build && pilet pack services/channel/workflows",
"setup:hosting": "yarn util:load-vars ts-node ./scripts/setup-hosting.ts",
"yarn:de-dupe": "npx yarn-deduplicate yarn.lock"
},
"devDependencies": {
"@axinom/mosaic-cli": "0.40.0",
"@dbeining/react-atom": "^4.1.21",
"@jest/globals": "^29.5.0",
"@libre/atom": "^1.3.3",
"@types/jest": "^29.4.1",
"@types/node": "^18.11.19",
"@types/prompts": "^2.4.4",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.5.5",
"@types/url-join": "^4.0.1",
"@types/yargs": "^16.0.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"axios": "^0.24.0",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"dotenv": "^8.6.0",
"env-cmd": "^10.1.0",
"env-var": "^6.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"glob": "^8.1.0",
"graphql": "^15.4.0",
"graphql-tag": "^2.12.6",
"history": "^4.10.1",
"http-proxy": "^1.18.1",
"jest": "^29.5.0",
"jest-expect-message": "^1.1.3",
"jest-junit": "^14.0.1",
"piral-cli": "^1.5.2",
"piral-cli-webpack5": "^1.5.2",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.1.1",
"prompts": "^2.4.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"rimraf": "^3.0.2",
"semver": "^7.5.4",
"ts-node": "^10.9.1",
"tslib": "^1.14.1",
"typescript": "^4.9.4",
"url-join": "^4.0.1",
"wsrun": "^5.2.4",
"yargs": "^16.2.0"
},
"dependencies": {},
"resolutions": {
"@stoplight/spectral-core": "1.18.3",
"@types/jest": "^29",
"css-loader": "^6.7.3",
"jest": "^29",
"jest-cli": "^29"
}
}