Skip to content

Commit 264a375

Browse files
committed
Revert "revert package upgrade"
This reverts commit 91d1501.
1 parent 91d1501 commit 264a375

File tree

1 file changed

+69
-84
lines changed

1 file changed

+69
-84
lines changed

frontend/package.json

Lines changed: 69 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,76 @@
11
{
2-
"name": "gcse-maths-expert-frontend",
2+
"name": "frontend",
33
"version": "0.1.0",
4-
"dependencies": {
5-
"@apollo/client": "^3.0.0-rc.3",
6-
"@azure/msal-browser": "^3.11.1",
7-
"@azure/msal-react": "^2.0.14",
8-
"@react-oauth/google": "^0.12.1",
9-
"@stripe/stripe-js": "^1.11.0",
10-
"@testing-library/jest-dom": "^4.2.4",
11-
"@testing-library/react": "^9.5.0",
12-
"@testing-library/user-event": "^7.2.1",
13-
"axios": "^0.21.1",
14-
"buffer": "^6.0.3",
15-
"clsx": "^2.1.0",
16-
"downshift": "^9.0.6",
17-
"graphql": "^15.1.0",
18-
"html-react-parser": "^4.0.0",
19-
"logrocket": "^1.0.14",
20-
"lottie-react": "^2.4.0",
21-
"mdify": "^1.1.0",
22-
"postcss": "^8.4.24",
23-
"react": "^16.13.1",
24-
"react-app-polyfill": "^1.0.6",
25-
"react-creative-cursor": "^1.2.7",
26-
"react-dom": "^16.13.1",
27-
"react-dropbox-chooser": "0.0.5",
28-
"react-ga": "^3.3.0",
29-
"react-helmet": "^6.1.0",
30-
"react-joyride": "^2.5.5",
31-
"react-katex": "^2.0.2",
32-
"react-markdown-editor-lite": "^1.1.5",
33-
"react-modal": "^3.16.1",
34-
"react-player": "^2.5.0",
35-
"react-redux": "^7.2.0",
36-
"react-router-dom": "^5.2.0",
37-
"react-scripts": "^5.0.1",
38-
"react-sortable-hoc": "^1.11.0",
39-
"react-use": "^17.4.0",
40-
"redux": "^4.0.5",
41-
"redux-thunk": "^2.3.0",
42-
"showdown-katex": "^0.8.0",
43-
"showdown-target-blank": "^1.0.2",
44-
"styled-components": "^5.1.1",
45-
"swiper": "^10.0.3"
46-
},
4+
"private": true,
475
"scripts": {
48-
"start": "react-app-rewired start",
49-
"build": "react-app-rewired build",
50-
"test": "react-app-rewired test",
51-
"postbuild": "react-snap",
52-
"eject": "react-scripts eject"
53-
},
54-
"eslintConfig": {
55-
"extends": "react-app"
6+
"dev": "npm run get-data && npm run generate && concurrently \"faust dev\" \"npm run watch-codegen\"",
7+
"dev:faust": "faust dev",
8+
"get-data": "ts-node ./src/script/generateData.ts",
9+
"deploy": "netlify deploy --build --prod",
10+
"trigger-deploy": "ts-node ./src/script/triggerDeploy.ts",
11+
"prepare": "npm run codegen && npm run generate && npm run get-data",
12+
"build": "npm run trigger-deploy && npm run prepare && faust build && npm run sitemap ",
13+
"generate": "faust generatePossibleTypes",
14+
"start": "faust start",
15+
"lint": "next lint",
16+
"find:unused": "next-unused",
17+
"codegen": "graphql-codegen",
18+
"sitemap": "next-sitemap",
19+
"watch-codegen": "graphql-codegen -w"
5620
},
57-
"browserslist": {
58-
"production": [
59-
">0.2%",
60-
"not dead",
61-
"not op_mini all"
62-
],
63-
"development": [
64-
"last 1 chrome version",
65-
"last 1 firefox version",
66-
"last 1 safari version"
67-
]
21+
"dependencies": {
22+
"@apollo/client": "^3.8.8",
23+
"@faustwp/cli": "^3.0.1",
24+
"@faustwp/core": "^3.0.1",
25+
"@graphql-typed-document-node/core": "^3.2.0",
26+
"@headlessui/react": "^2.1.1",
27+
"@next/env": "13.5.6",
28+
"@tailwindcss/container-queries": "^0.1.1",
29+
"axios": "^1.7.2",
30+
"cross-env": "^7.0.3",
31+
"framer-motion": "^11.2.12",
32+
"graphql": "^16.8.1",
33+
"graphql-tag": "^2.12.6",
34+
"momment": "^0.0.1",
35+
"next": "13.4.8",
36+
"next-seo": "^6.5.0",
37+
"next-sitemap": "^4.2.3",
38+
"react": "18.2.0",
39+
"react-cookie-consent": "^9.0.0",
40+
"react-dom": "18.2.0",
41+
"react-hook-form": "^7.51.1",
42+
"react-player": "^2.14.1",
43+
"sass": "^1.69.5",
44+
"swiper": "^11.1.14",
45+
"tailwind-merge": "^2.0.0"
6846
},
6947
"devDependencies": {
70-
"@tailwindcss/forms": "^0.5.7",
71-
"autoprefixer": "^10.4.14",
72-
"react-app-rewired": "^2.2.1",
73-
"react-snap": "^1.23.0",
74-
"sass": "^1.63.6",
75-
"tailwindcss": "^3.3.2"
76-
},
77-
"reactSnap": {
78-
"include": [
79-
"/",
80-
"/subscribe",
81-
"/about",
82-
"/questions",
83-
"/login",
84-
"/privacy-policy"
85-
],
86-
"puppeteerArgs": [
87-
"--no-sandbox",
88-
"--disable-setuid-sandbox"
89-
]
48+
"@graphql-codegen/cli": "^5.0.0",
49+
"@graphql-codegen/client-preset": "^4.1.0",
50+
"@svgr/webpack": "^8.1.0",
51+
"@tailwindcss/typography": "^0.5.10",
52+
"@types/node": "^20",
53+
"@types/react": "18.2.42",
54+
"@types/react-dom": "18.2.17",
55+
"@types/react-lazyload": "^3.2.3",
56+
"autoprefixer": "^10",
57+
"concurrently": "^8.2.2",
58+
"cssnano": "^6.1.2",
59+
"eslint": "^8",
60+
"eslint-config-next": "13.5.6",
61+
"eslint-config-prettier": "^9.0.0",
62+
"eslint-plugin-html": "^7.1.0",
63+
"eslint-plugin-jsx-a11y": "^6.8.0",
64+
"eslint-plugin-validate-jsx-nesting": "^0.1.1",
65+
"husky": "^8.0.3",
66+
"lint-staged": "^15.1.0",
67+
"next-unused": "^0.0.6",
68+
"postcss": "^8",
69+
"prettier": "^3.1.0",
70+
"prettier-plugin-tailwindcss": "^0.5.7",
71+
"tailwindcss": "3.3.6",
72+
"ts-node": "^10.9.2",
73+
"tsconfig-paths": "^4.2.0",
74+
"typescript": "^5.3.2"
9075
}
91-
}
76+
}

0 commit comments

Comments
 (0)