-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
121 lines (121 loc) · 4.45 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
{
"name": "sykepengesoknad-frontend",
"version": "1.0.0",
"private": true,
"engines": {
"node": "20"
},
"dependencies": {
"@grafana/faro-web-sdk": "^1.10.2",
"@navikt/aksel-icons": "^7.4.3",
"@navikt/ds-css": "^7.4.3",
"@navikt/ds-react": "^7.4.3",
"@navikt/ds-tailwind": "^7.4.3",
"@navikt/ds-tokens": "^7.3.0",
"@navikt/nav-dekoratoren-moduler": "^3.1.0",
"@navikt/next-api-proxy": "^4.1.0",
"@navikt/next-logger": "^1.34.0",
"@navikt/oasis": "^3.4.0",
"@tanstack/react-query": "^4.33.0",
"@tanstack/react-query-devtools": "^4.36.1",
"@types/smoothscroll-polyfill": "^0.3.4",
"@unleash/nextjs": "^1.4.4",
"classnames": "^2.5.1",
"cookie": "^1.0.1",
"dayjs": "^1.11.13",
"html-react-parser": "^5.1.18",
"jose": "^5.9.6",
"next-logger": "^5.0.1",
"nextleton": "^0.6.1",
"node-cache": "^5.1.2",
"node-fetch": "^3.3.2",
"pino-pretty": "^11.2.2",
"postcss-import": "^16.1.0",
"prom-client": "^15.1.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"remeda": "^2.16.0",
"tailwind-merge": "^2.5.4",
"use-force-update": "^1.0.11",
"uuid": "^10.0.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@cypress/webpack-preprocessor": "^6.0.2",
"@navikt/eslint-config-teamsykmelding": "^6.6.0",
"@testing-library/cypress": "^10.0.2",
"@playwright/test": "^1.48.2",
"@types/classnames": "^2.3.4",
"@types/jsdom": "^21.1.7",
"@types/node": "~20.14.10",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/uuid": "^10.0.0",
"axe-core": "^4.10.1",
"autoprefixer": "^10.4.20",
"cypress": "^13.15.1",
"cypress-axe": "^1.5.0",
"cypress-file-upload": "^5.0.8",
"cypress-real-events": "^1.13.0",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.15",
"eslint-plugin-cypress": "^3.5.0",
"jsdom": "^25.0.1",
"next": "^14.2.15",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"start-server-and-test": "^2.0.8",
"tailwindcss": "^3.4.13",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
"scripts": {
"dev": "MOCK_BACKEND=true next dev -p 3000 | pino-pretty",
"local": "LOCAL_BACKEND=true next dev -p 3000 | pino-pretty",
"dev-ingen-dekorator": "MOCK_BACKEND=true NO_DECORATOR=true npm run dev | pino-pretty",
"start": "next start -p 3000",
"start-ingen-dekorator": "NO_DECORATOR=true npm start",
"build": "next build",
"test": "MOCK_BACKEND=true vitest",
"test:ci": "vitest --run",
"cy:open": "cypress open --e2e",
"cy:headless-parallel": "node cypress/headless-parallel.js",
"play": "npx playwright test --ui",
"play-headless": "npx playwright test",
"e2e": "caffeinate -i start-test dev-ingen-dekorator http://localhost:3000/syk/sykepengesoknad cy:open",
"headless": "MOCK_BACKEND=true start-test dev-ingen-dekorator http://localhost:3000/syk/sykepengesoknad cy:headless-parallel",
"prettier:write": "prettier --write .",
"prettier:check": "prettier --check .",
"tsc": "tsc",
"lint": "eslint --ext=ts,tsx src cypress playwright",
"lint:fix": "eslint --ext=ts,tsx src cypress playwright --fix",
"format": "npm run prettier:write && npm run lint:fix"
},
"eslintConfig": {
"extends": [
"@navikt/eslint-config-teamsykmelding",
"next/core-web-vitals",
"plugin:cypress/recommended"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@next/next/no-img-element": "off"
},
"overrides": [
{
"files": [
"**/playwright/**/*.{js,ts}"
],
"rules": {
"testing-library/prefer-screen-queries": "off"
}
}
]
},
"prettier": "@navikt/eslint-config-teamsykmelding/prettier"
}