-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
145 lines (145 loc) · 9.33 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
135
136
137
138
139
140
141
142
143
144
145
{
"name": "events-helsinki-monorepo",
"license": "MIT",
"private": true,
"homepage": "https://github.com/City-of-Helsinki/events-helsinki-monorepo",
"repository": {
"type": "git",
"url": "https://github.com/City-of-Helsinki/events-helsinki-monorepo"
},
"author": {
"name": "Jaakko Nenonen <[email protected]>"
},
"workspaces": [
"apps/*",
"packages/*",
"proxies/*"
],
"scripts": {
"g:clean": "yarn clean:global-cache && yarn workspaces foreach -ptv run clean",
"g:build": "yarn workspaces foreach -p --topological-dev -v run build",
"g:build-changed": "yarn workspaces foreach --topological-dev --no-private -v --since=origin/main run build",
"g:test": "yarn workspaces foreach -ptv run test",
"g:test-e2e": "yarn workspaces foreach -tv run test-e2e",
"g:lint": "yarn workspaces foreach -ptv run lint --color",
"g:lint-styles": "yarn workspaces foreach -ptv run lint-styles --color",
"g:typecheck": "yarn workspaces foreach -ptv run typecheck",
"g:lint-staged-files": "lint-staged --allow-empty --debug && yarn lint:dependency-versions",
"g:lint-fix": "yarn workspaces foreach -ptv run lint-fix",
"g:check-dist": "yarn workspaces foreach -ptv run check-dist",
"g:share-static-symlink": "yarn workspaces foreach -pv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run share-static-symlink",
"g:share-static-hardlink": "yarn workspaces foreach -pv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run share-static-hardlink",
"clean:global-cache": "rimraf --no-glob ./.cache",
"apps:build": "yarn workspaces foreach -ptv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run build",
"apps:clean": "yarn workspaces foreach -ptv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run clean",
"packages:build": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run build",
"packages:test:unit": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run test",
"packages:lint": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run lint",
"packages:typecheck": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run typecheck",
"packages:clean": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run clean",
"docker:prune-cache": "docker buildx prune",
"docker:hobbies:install": "docker buildx bake -f docker-compose.hobbies.yml --progress=tty deps",
"docker:hobbies:develop": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.hobbies.yml up develop",
"docker:hobbies:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.hobbies.yml build --progress=tty --no-cache --force-rm develop",
"docker:hobbies:build": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.hobbies.yml --env-file ./apps/hobbies-helsinki/.env.local build --progress=tty runner",
"docker:hobbies:serve": "docker-compose -f docker-compose.hobbies.yml --env-file ./apps/hobbies-helsinki/.env.local up runner",
"docker:events:install": "docker buildx bake -f docker-compose.events.yml --progress=tty deps",
"docker:events:develop": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.events.yml up develop",
"docker:events:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.events.yml build --progress=tty --no-cache --force-rm develop",
"docker:events:build": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.events.yml --env-file ./apps/events-helsinki/.env.local build --progress=tty runner",
"docker:events:serve": "docker-compose -f docker-compose.events.yml --env-file ./apps/events-helsinki/.env.local up runner",
"docker:sports:install": "docker buildx bake -f docker-compose.sports.yml --progress=tty deps",
"docker:sports:develop": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.sports.yml up develop",
"docker:sports:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.sports.yml build --progress=tty --no-cache --force-rm develop",
"docker:sports:build": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.sports.yml --env-file ./apps/sports-helsinki/.env.local build --progress=tty runner",
"docker:sports:serve": "docker-compose -f docker-compose.sports.yml --env-file ./apps/sports-helsinki/.env.local up runner",
"docker:events-graphql-proxy": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.events-graphql-proxy.yml --env-file ./proxies/events-graphql-proxy/.env up events-graphql-proxy",
"docker:venue-graphql-proxy": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.venue-graphql-proxy.yml --env-file ./proxies/venue-graphql-proxy/.env up venue-graphql-proxy",
"docker:graphql-router:hobbies:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://harrastus.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker-compose -f docker-compose.router.yml up",
"docker:graphql-router:events:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://tapahtumat.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker-compose -f docker-compose.router.yml up",
"docker:graphql-router:sports:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://liikunta.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker-compose -f docker-compose.router.yml up",
"docker:down": "docker-compose down",
"docker:nuke-all": "npm-run-all --sequential --continue-on-error --print-label \"docker:nuke:*\"",
"docker:nuke:images": "docker image rm -f $(docker image ls -q)",
"docker:nuke:containers": "docker container rm -f $(docker container ls -qa)",
"docker:nuke:volumes": "docker volume rm $(docker volume ls -q)",
"docker:nuke:prune-cachemount": "docker builder prune --filter type=exec.cachemount",
"docker:nuke:prune-buildx": "docker buildx prune",
"nuke:node_modules": "rimraf '**/node_modules'",
"deps:check": "yarn dlx npm-check-updates@latest --configFileName ncurc.yml --deep --mergeConfig",
"deps:update": "yarn dlx npm-check-updates@latest --configFileName ncurc.yml -u --deep --mergeConfig",
"check:install": "yarn dlx @yarnpkg/[email protected] .",
"check:renovate:config": "docker run -v renovate.json5:/usr/src/app/renovate.json5 -it renovate/renovate renovate-config-validator",
"lint:dependency-versions": "check-dependency-version-consistency .",
"lint:dependency-versions:fix": "check-dependency-version-consistency . --fix\"",
"postinstall": "is-ci || yarn husky install",
"g:hds-critical-styles:create": "node ./scripts/create-critical-hds-styles-file.js ./static/assets/styles/critical-hds-styles.css"
},
"dependencies": {
"@next/bundle-analyzer": "13.4.7",
"@sentry/nextjs": "7.90.0",
"next": "13.4.7",
"next-transpile-modules": "10.0.0",
"react": "^18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@babel/core": "7.22.5",
"@babel/plugin-syntax-flow": "7.22.5",
"@babel/plugin-transform-react-jsx": "7.22.5",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@events-helsinki/eslint-config-bases": "workspace:^",
"@swc/core": "1.3.66",
"@swc/jest": "0.2.26",
"@types/body-parser": "^1",
"@types/cors": "2.8.13",
"@types/express": "4.17.17",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "20.3.2",
"@types/prettier": "2.7.3",
"@types/shell-quote": "1.7.1",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"babel-eslint": "^10.1.0",
"check-dependency-version-consistency": "4.1.0",
"cross-env": "7.0.3",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"dotenv-expand": "10.0.0",
"edit-json-file": "1.7.0",
"env-cmd": "10.1.0",
"esbuild": "0.20.1",
"eslint": "8.43.0",
"git-rev-sync": "3.0.2",
"hds-react": "^3.11.0",
"husky": "^8.0.3",
"is-ci": "3.0.1",
"jest": "29.5.0",
"jest-axe": "^7.0.1",
"jest-date-mock": "^1.0.8",
"jest_workaround": "0.76.0",
"lint-staged": "13.2.2",
"nodemon": "2.0.22",
"npm-run-all": "4.1.5",
"path": "0.12.7",
"picocolors": "1.0.0",
"postcss": "^8.4.21",
"prettier": "^2.8.8",
"rimraf": "5.0.1",
"shell-quote": "1.8.1",
"ts-jest": "29.1.0",
"ts-loader": "9.4.3",
"ts-node": "10.9.1",
"typescript": "^5.3.3",
"webpack": "5.88.0",
"webpack-cli": "5.1.4",
"webpack-node-externals": "3.0.0"
},
"engines": {
"node": "^14.13.1 || >=16.0.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
}
}