-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 4.74 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
{
"name": "client",
"version": "2.49.2",
"private": true,
"proxy": "http://localhost:8080",
"dependencies": {
"@react-aria/tabs": "^3.8.2",
"@sanger/ui-styling": "^4.1.0",
"@storybook/react-webpack5": "^7.6.3",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/classnames": "^2.2.10",
"@types/jest": "^29.5.4",
"@types/js-cookie": "^3.0.3",
"@types/lodash": "^4.14.194",
"@types/node": "^20.10.3",
"@types/papaparse": "^5.3.14",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-table": "^7.7.15",
"@types/react-transition-group": "^4.4.5",
"@typescript-eslint/eslint-plugin": "8.3.0",
"@typescript-eslint/parser": "8.3.0",
"@xstate/react": "^4.0.1",
"autoprefixer": "^10.0.2",
"classnames": "^2.2.6",
"formik": "^2.2.1",
"framer-motion": "^6.5.1",
"graphql": "^16.8.1",
"graphql-request": "6.1.0",
"immer": "^10.0.3",
"js-cookie": "^3.0.5",
"lodash": "^4.17.20",
"papaparse": "^5.4.1",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "^6.19.0",
"react-router-prompt": "^0.6.0",
"react-scripts": "^5.0.1",
"react-select": "^5.7.3",
"react-syntax-highlighter": "^15.5.0",
"react-table": "^7.8.0",
"react-toastify": "^9.0.5",
"tailwindcss": "~3.1.4",
"typescript": "5.4.3",
"use-immer": "^0.9.0",
"webpack": "5.94.0",
"xlsx": "^0.18.5",
"xstate": "^5.3.1",
"yup": "^1.2.0"
},
"scripts": {
"start": "npm-run-all -p start:css start:js",
"start:msw": "REACT_APP_MOCK_API=msw npm run start",
"build": "npm-run-all build:css build:js",
"start:js": "react-scripts --openssl-legacy-provider start",
"build:js": "react-scripts --openssl-legacy-provider build",
"start:css": "postcss node_modules/@sanger/ui-styling/tailwind.css -o src/styles/index.css -w",
"build:css": "postcss node_modules/@sanger/ui-styling/tailwind.css -o src/styles/index.css --env production",
"cypress:open": "cypress open --config-file=cypress.config.ts",
"cypress:run": "cypress run",
"test": "start-server-and-test start 3000 cypress:run",
"test:open": "start-server-and-test start 3000 cypress:open",
"test:unit": "yarn jest",
"eject": "react-scripts eject",
"codegen": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen --config codegen.yml -r dotenv/config",
"codegen:watch": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen --config codegen.yml -r dotenv/config --watch",
"codegen:machine": "npx hygen machine new",
"storybook": "sb dev -p 6006 -s public",
"build-storybook": "export SET NODE_OPTIONS=--openssl-legacy-provider && sb build -s public",
"deploy-storybook": "storybook-to-ghpages",
"format": "prettier --write .",
"lint": "npx eslint . --ext .ts,.tsx"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@faker-js/faker": "^8.3.1",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/typescript": "^4.0.2",
"@graphql-codegen/typescript-graphql-request": "^6.1.0",
"@graphql-codegen/typescript-operations": "^4.1.0",
"@storybook/addon-actions": "^7.6.3",
"@storybook/addon-essentials": "^7.6.3",
"@storybook/addon-links": "^7.6.3",
"@storybook/builder-webpack5": "^7.6.3",
"@storybook/cli": "^7.6.3",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/node-logger": "^7.6.3",
"@storybook/preset-create-react-app": "^7.6.3",
"@storybook/react": "^7.6.3",
"@tailwindcss/forms": "^0.5.7",
"@testing-library/cypress": "^10.0.1",
"babel-plugin-polyfill-corejs2": "^0.4.6",
"cypress": "^13.6.1",
"cypress-intellij-reporter": "^0.0.7",
"eslint-config-prettier": "^9.1.0",
"fishery": "^2.2.2",
"identity-obj-proxy": "^3.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"msw": "^2.0.11",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.0.0",
"precise-commits": "^1.0.2",
"prettier": "3.1.0",
"start-server-and-test": "^2.0.3",
"ts-jest": "29.1.1"
},
"resolutions": {
"babel-loader": "8.1.0",
"yaml": "2.2.2",
"string-width": "4.2.3"
},
"msw": {
"workerDirectory": "public"
}
}