-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.66 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
{
"name": "valintojen-toteuttaminen",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "touch .env.development.local && NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" node --env-file=.env --env-file=.env.development.local dev-server.mjs",
"dev-test": "TEST=true APP_URL=https://localhost:3404 VIRKAILIJA_URL=http://localhost:3104 npm run dev",
"build": "STANDALONE=true next build",
"build-test": "APP_URL=https://localhost:3404 VIRKAILIJA_URL=http://localhost:3104 next build",
"start": "NODE_ENV=production npm run dev",
"start-test": "NODE_ENV=production npm run dev-test",
"lint": "next lint --max-warnings=0",
"prettier-eslint:fix": "prettier-eslint \"**/*.{js,ts,mjs,cjs,jsx,tsx}\" --write",
"test:ui": "playwright test",
"test": "vitest",
"coverage": "vitest run --coverage",
"create-dev-certs": "mkdir -p certificates && cd certificates && mkcert localhost && mkcert -install",
"prepare": "husky",
"typecheck": "tsc",
"noop": ""
},
"dependencies": {
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.15.19",
"@mui/material": "^5.15.19",
"@mui/material-nextjs": "^5.15.11",
"@opetushallitus/oph-design-system": "github:opetushallitus/oph-design-system#v0.0.1",
"@tanstack/react-query": "^5.44.0",
"@tanstack/react-query-devtools": "^5.44.0",
"cookie": "^0.6.0",
"i18next": "^23.11.5",
"i18next-http-backend": "^2.5.2",
"next": "^14.2.4",
"nuqs": "^1.17.4",
"react": "^18",
"react-dom": "^18",
"react-error-boundary": "^4.0.13",
"react-i18next": "^14.1.2"
},
"devDependencies": {
"@axe-core/playwright": "^4.9.1",
"@axe-core/react": "^4.9.1",
"@playwright/test": "^1.44.1",
"@testing-library/react": "^16.0.0",
"@types/cookie": "^0.6.0",
"@types/node": "^20.14.2",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-istanbul": "^1.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8",
"eslint-config-next": "14.2.4",
"eslint-config-prettier": "^9.1.0",
"http-proxy-middleware": "^3.0.0",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
"lint-staged": "^15.2.6",
"postcss": "^8",
"prettier": "^3.3.2",
"prettier-eslint-cli": "^8.0.1",
"typescript": "^5",
"vitest": "^1.6.0"
},
"lint-staged": {
"**/*.{js,ts,mjs,cjs,jsx,tsx}": [
"eslint --fix",
"prettier --write -u"
],
"!**/*.{js,ts,mjs,cjs,jsx,tsx}": "prettier --write -u"
}
}