-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
108 lines (108 loc) · 3.85 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
{
"name": "spinnsyn-frontend",
"version": "0.1.1",
"private": true,
"engines": {
"node": "20"
},
"dependencies": {
"@grafana/faro-web-sdk": "^1.12.3",
"@navikt/aksel-icons": "^7.11.0",
"@navikt/ds-css": "^7.11.0",
"@navikt/ds-react": "^7.11.0",
"@navikt/ds-tailwind": "^7.11.0",
"@navikt/ds-tokens": "^7.9.1",
"@navikt/nav-dekoratoren-moduler": "^3.2.1",
"@navikt/next-api-proxy": "^4.1.3",
"@navikt/next-logger": "^1.35.0",
"@navikt/oasis": "^3.6.0",
"@tanstack/react-query": "^5.64.2",
"@testing-library/cypress": "^10.0.3",
"@unleash/nextjs": "^1.6.0",
"classnames": "^2.5.1",
"cookie": "^1.0.2",
"dayjs": "^1.11.13",
"html-react-parser": "^5.2.2",
"jose": "^5.9.6",
"next-logger": "^5.0.1",
"node-cache": "^5.1.2",
"pino-pretty": "^13.0.0",
"prom-client": "^15.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remeda": "^2.20.0",
"tailwind-merge": "^2.6.0",
"typescript": "^5.7.3",
"uuid": "^11.0.5"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@cypress/webpack-preprocessor": "^6.0.2",
"@navikt/eslint-config-teamsykmelding": "^7.1.0",
"@playwright/test": "^1.50.0",
"@types/classnames": "^2.3.4",
"@types/cookie": "^0.6.0",
"@types/node": "^22.10.5",
"@types/react": "^19.0.8",
"@types/uuid": "^10.0.0",
"autoprefixer": "^10.4.20",
"axe-core": "^4.10.2",
"cypress": "^13.17.0",
"cypress-axe": "^1.5.0",
"cypress-real-events": "^1.14.0",
"eslint": "^8.57.0",
"eslint-config-next": "^15.1.6",
"eslint-plugin-cypress": "^3.6.0",
"next": "^15.1.6",
"postcss": "^8.5.1",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"start-server-and-test": "^2.0.10",
"tailwindcss": "^3.4.17",
"ts-loader": "^9.5.2",
"vitest": "^2.1.8"
},
"scripts": {
"dev": "MOCK_BACKEND=true next dev -p 3000 | pino-pretty",
"dev-ingen-dekorator": "MOCK_BACKEND=true NO_DECORATOR=true npm run dev | pino-pretty",
"interne": "SPINNSYN_FRONTEND_INTERNE=true NO_DECORATOR=true npm run dev | pino-pretty",
"start": "next start -p 3000",
"start-ingen-dekorator": "NO_DECORATOR=true npm start",
"arkiv": "npm run build && npm run start-ingen-dekorator",
"build": "next build",
"test": "vitest",
"test:ci": "vitest --run",
"cy:open": "cypress open --e2e",
"play": "npx playwright test --ui",
"play-headless": "npx playwright test",
"e2e": "NO_DECORATOR=true start-test dev http://localhost:3000/syk/sykepenger cy:open",
"prettier:write": "prettier --write .",
"prettier:check": "prettier --check .",
"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"
},
"overrides": [
{
"files": [
"**/playwright/**/*.{js,ts}"
],
"rules": {
"testing-library/prefer-screen-queries": "off"
}
}
]
},
"prettier": "@navikt/eslint-config-teamsykmelding/prettier"
}