-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
127 lines (127 loc) · 5.04 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
{
"name": "@weco/dotorg",
"version": "1.0.0",
"description": "Products and services relating to wellcomecollection.org.",
"scripts": {
"setupCommon": "yarn install --production",
"identity": "yarn workspace @weco/identity run start:dev",
"cardigan": "yarn workspace @weco/cardigan run dev",
"content": "yarn workspace @weco/content run dev",
"slicemachine": "yarn workspace @weco/common start-slicemachine",
"build-webapps": "echo '@weco/content @weco/identity' | xargs -n 1 | xargs -I% yarn workspace % run build",
"clean": "rimraf --glob **/.next **/.server-data",
"clean-deps": "rimraf --glob **/node_modules",
"test:common": "echo \"⭕️ Running common tests...\" && cd common && NODE_ENV=test jest --no-cache && echo \"✅️ common tests finished\"",
"test:content": "echo \"⭕️ Running content tests...\" && cd content/webapp && NODE_ENV=test jest --no-cache && echo \"✅️ content tests finished\"",
"test:identity": "echo \"⭕️ Running identity tests...\" && cd identity/webapp && NODE_ENV=test jest --no-cache && echo \"✅️ content tests finished\"",
"test:playwright": "echo \"⭕️ Running playwright tests...\" && cd playwright && PLAYWRIGHT_BASE_URL=https://www-stage.wellcomecollection.org yarn test && echo \"✅️ playwright tests finished\"",
"test:playwright:mobile": "echo \"⭕️ Running playwright mobile tests...\" && cd playwright && PLAYWRIGHT_BASE_URL=https://www-stage.wellcomecollection.org NODE_ENV=test platform=mobile yarn test && echo \"✅️ playwright mobile tests finished\"",
"test:all:unit": "yarn test:common && yarn test:content && yarn test:identity",
"e2e-stage": "yarn test:playwright && yarn test:playwright:mobile",
"run-concurrently": "./scripts/run-concurrently.sh",
"run-concurrently:clean": "./scripts/run-concurrently.sh -c",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint:css": "stylelint \"**/*.{js,ts,tsx}\"",
"tsc": "yarn workspaces run tsc --noEmit --skipLibCheck"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wellcomecollection/wellcomecollection.org.git"
},
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/wellcomecollection/wellcomecollection.org/issues"
},
"homepage": "https://github.com/wellcomecollection/wellcomecollection.org#readme",
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/eslint-parser": "^7.22.9",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/gtag.js": "^0.0.12",
"@types/jest": "^29.5.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/koa": "^2.15.0",
"@types/koa-json": "^2.0.18",
"@types/koa-logger": "^3.1.1",
"@types/koa__router": "^12.0.4",
"@types/lodash.debounce": "^4.0.7",
"@types/node": "^22.8.1",
"@types/prompts": "^2.4.4",
"@types/react": "18.2.7",
"@types/react-window": "^1.8.5",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.5.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-styled-components": "^2.1.4",
"babel-plugin-transform-typescript-metadata": "^0.3.1",
"babel-preset-react": "^6.24.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jest-playwright": "^0.9.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^4.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^14.0.1",
"msw": "^1.3.5",
"node-fetch": "^2.7.0",
"nodemon": "^2.0.22",
"postcss": "^8.4.31",
"postcss-styled-syntax": "^0.6.4",
"prettier": "^3.3.3",
"prop-types": "15.8.1",
"rimraf": "^4.4.1",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"ts-jest": "29.2.3",
"typescript": "5.6.3",
"whatwg-fetch": "^3.6.2"
},
"resolutions": {
"@types/react": "18.2.7"
},
"private": true,
"workspaces": [
"cardigan",
"common",
"content/webapp",
"identity/webapp",
"prismic-model",
"toggles/webapp"
],
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix --max-warnings=0 --report-unused-disable-directives",
"stylelint --max-warnings=0"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"yarn": "^1.22.21"
}
}