-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
193 lines (193 loc) · 8.72 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"private": true,
"name": "asap-hub",
"license": "MIT",
"workspaces": [
"apps/*",
"packages/**",
"@types/*"
],
"engines": {
"node": "20.x"
},
"repository": {
"type": "git",
"url": "https://github.com/yldio/asap-hub.git"
},
"scripts": {
"algolia:clear-index": "yarn workspace @asap-hub/asap-cli algolia:clear-index",
"algolia:delete-index": "yarn workspace @asap-hub/asap-cli algolia:delete-index",
"algolia:get-settings": "yarn workspace @asap-hub/asap-cli algolia:get-settings",
"algolia:move-index": "yarn workspace @asap-hub/asap-cli algolia:move-index",
"algolia:process-performance": "yarn workspace @asap-hub/asap-cli algolia:process-performance",
"algolia:remove-records": "yarn workspace @asap-hub/asap-cli algolia:remove-records",
"algolia:set-settings": "yarn workspace @asap-hub/asap-cli algolia:set-settings",
"algolia:set-analytics-settings": "yarn workspace @asap-hub/asap-cli algolia:set-analytics-settings",
"build": "yarn turbo build --filter='!@asap-hub/contentful-app-*'",
"build:babel": "turbo build:babel",
"build:frontend": "yarn turbo build --filter='!@asap-hub/contentful-app-*' --only",
"build:storybook": "yarn workspace @asap-hub/storybook build",
"build:typecheck": "turbo build:typecheck:tsc",
"build:typecheck:tsc": "tsc -b -v $(node scripts/get-composite-ts-projects.js)",
"check:packages": "yarn install --immutable --immutable-cache",
"clean": "rimraf \"{apps,packages}/*/{dist,build*,.turbo,*.tsbuildinfo}\" \"coverage\" \".serverless*\"",
"contentful:migration:count:crn": "APP=crn ./packages/contentful/scripts/migration-count.sh",
"contentful:migration:count:gp2": "APP=gp2 ./packages/contentful/scripts/migration-count.sh",
"contentful:migration:create:crn": "APP=crn ./packages/contentful/scripts/migration-create.sh",
"contentful:migration:create:gp2": "APP=gp2 ./packages/contentful/scripts/migration-create.sh",
"contentful:migration:dryrun:crn": "APP=crn ./packages/contentful/scripts/migration-dryrun.sh",
"contentful:migration:dryrun:gp2": "APP=gp2 ./packages/contentful/scripts/migration-dryrun.sh",
"contentful:migration:generate:crn": "APP=crn ./packages/contentful/scripts/migration-generate.sh",
"contentful:migration:generate:gp2": "APP=gp2 ./packages/contentful/scripts/migration-generate.sh",
"contentful:rollback-migration:crn": "APP=crn ./packages/contentful/scripts/migration-rollback-run.sh",
"contentful:rollback-migration:gp2": "APP=gp2 ./packages/contentful/scripts/migration-rollback-run.sh",
"contentful:migration:run:crn": "APP=crn ./packages/contentful/scripts/migration-run.sh",
"contentful:migration:run:gp2": "APP=gp2 ./packages/contentful/scripts/migration-run.sh",
"contentful:schema:update": "yarn contentful:schema:update:crn && yarn contentful:schema:update:gp2",
"contentful:schema:update:crn": "APP=crn ./packages/contentful/scripts/schema-update.sh",
"contentful:schema:update:gp2": "APP=gp2 ./packages/contentful/scripts/schema-update.sh",
"export:analytics": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' yarn ts-node --transpile-only --project ./apps/crn-server/tsconfig.json --files=./apps/crn-server/@types ./apps/crn-server/scripts/cli.ts export-analytics",
"export:entity:crn": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' yarn ts-node --transpile-only --project ./apps/crn-server/tsconfig.json --files=./apps/crn-server/@types ./apps/crn-server/scripts/cli.ts export",
"export:entity:gp2": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' yarn ts-node --transpile-only --project ./apps/gp2-server/tsconfig.json --files=./apps/gp2-server/@types ./apps/gp2-server/scripts/cli.ts export",
"fix:format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,html,css,scss,md,mdx,yml,yaml}\"",
"lint:format": "prettier -l \"**/*.{js,jsx,ts,tsx,json,html,css,scss,md,mdx,yml,yaml}\"",
"lint": "yarn test --config=jest-eslint.config.js",
"release:frontend": "yarn workspace @asap-hub/crn-frontend release:frontend && yarn workspace @asap-hub/gp2-frontend release:frontend",
"schema:update": "yarn schema:update:crn",
"schema:update:crn": "./apps/crn-server/scripts/schema-update.sh",
"start": "yarn watch & yarn start:crn & yarn start:gp2 & yarn start:storybook",
"start:backend:crn": "yarn workspace @asap-hub/crn-server start",
"start:backend:crn:sls": "SLS_STAGE=local yarn workspace @asap-hub/crn-server serverless offline --httpPort 3333",
"start:backend:gp2": "yarn workspace @asap-hub/gp2-server start",
"start:crn": "yarn start:frontend:crn & yarn start:backend:crn",
"start:frontend:crn": "yarn workspace @asap-hub/crn-frontend start",
"start:frontend:gp2": "yarn workspace @asap-hub/gp2-frontend start",
"start:gp2": "yarn start:frontend:gp2 & yarn start:backend:gp2",
"start:storybook": "yarn workspace @asap-hub/storybook start",
"tags": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' yarn ts-node --transpile-only --project ./apps/crn-server/tsconfig.json --files=./apps/crn-server/@types ./apps/crn-server/scripts/cli.ts tags",
"test": "LANG=en_US TZ=UTC jest",
"test:workspace": "yarn test --config=jest-workspace.config.js",
"test:browser": "yarn test --config=packages/react-components/jest-browser.config.js",
"test:build-output": "yarn test --config=jest-build-output.config.js",
"test:e2e": "yarn test --config=apps/e2e-tests/jest-e2e.config.js",
"test:integration": "LOG_ENABLED=true LOG_LEVEL=error yarn test --config=jest-integration.config.js -i",
"typecheck": "turbo typecheck",
"update:browser-list": "yarn up -R caniuse-lite",
"watch": "yarn watch:babel & yarn watch:typecheck",
"watch:babel": "yarn workspaces foreach -vpi -j 1000 run watch:babel",
"watch:typecheck": "yarn build:typecheck:tsc -w"
},
"resolutions": {
"encoding": "0.1.13",
"expect-playwright": "0.8.0",
"vfile": "4.2.1",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"eslint-plugin-import": "2.29.1"
},
"dependenciesMeta": {
"aws-sdk": {
"built": false
},
"browser-tabs-lock": {
"built": false
},
"core-js": {
"built": false
},
"core-js-pure": {
"built": false
},
"ejs": {
"built": false
},
"fsevents": {
"built": false
},
"serverless-offline@8.8.1": {
"unplugged": true
},
"serverless-offline-aws-eventbridge@1.6.7": {
"unplugged": true
},
"serverless-offline-ssm@6.2.0": {
"unplugged": true
},
"term-size": {
"unplugged": false
},
"thrift": {
"unplugged": false
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"bundlewatch": {
"files": [
{
"path": "apps/crn-frontend/dist/**/*.js",
"maxSize": "256 kB"
},
{
"path": "apps/gp2-frontend/dist/**/*.js",
"maxSize": "256 kB"
}
]
},
"devDependencies": {
"@asap-hub/eslint-config-asap-hub": "workspace:*",
"@asap-hub/flags": "workspace:*",
"@babel/cli": "7.23.4",
"@babel/core": "7.23.7",
"@babel/eslint-parser": "7.23.3",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@babel/plugin-transform-runtime": "7.23.7",
"@babel/preset-env": "7.23.8",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/runtime-corejs3": "7.23.8",
"@emotion/jest": "^11.10.5",
"@jeysal/babel-plugin-ramda": "2.0.1",
"@peculiar/webcrypto": "1.4.6",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "29.5.12",
"@types/react-test-renderer": "18.0.7",
"@types/uuid": "8.3.4",
"@types/webpack": "4.41.38",
"@yarnpkg/pnpify": "3.1.7",
"babel-jest": "29.7.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-inline-environment-variables": "0.5.0-alpha.42",
"babel-preset-react-app": "10.0.1",
"bundlewatch": "0.3.3",
"dotenv": "16.3.1",
"escape-string-regexp": "4.0.0",
"eslint": "8.56.0",
"hyperform": "0.12.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-fail-on-console": "^3.1.1",
"jest-runner-eslint": "^1.1.0",
"jest-watch-select-projects": "2.0.0",
"jest-watch-suspend": "1.1.2",
"jest-watch-typeahead": "0.6.5",
"jscpd": "^3.5.10",
"nock": "13.4.0",
"node-fetch": "3.0.0-beta.9",
"prettier": "3.1.1",
"react-test-renderer": "17.0.2",
"rimraf": "3.0.2",
"turbo": "^1.11.3",
"typescript": "4.9.5"
},
"dependencies": {
"ts-node": "10.9.2",
"uuid": "8.3.2"
},
"packageManager": "yarn@3.7.0"
}