-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
129 lines (129 loc) · 4.62 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
{
"name": "sosialhjelp-soknad",
"version": "0.1.0",
"private": true,
"homepage": "/sosialhjelp/soknad/",
"dependencies": {
"@amplitude/analytics-browser": "^2.11.8",
"@fremtind/jkl-formatters-util": "^6.0.11",
"@fremtind/jkl-validators-util": "^3.0.1",
"@grafana/faro-react": "^1.11.0",
"@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^3.9.0",
"@navikt/aksel-icons": "^7.3.1",
"@navikt/ds-css": "^7.3.1",
"@navikt/ds-icons": "^3.4.3",
"@navikt/ds-react": "^7.3.1",
"@navikt/ds-tailwind": "^7.3.1",
"@navikt/fnrvalidator": "^2.1.2",
"@navikt/nav-dekoratoren-moduler": "^3.1.1",
"@navikt/next-api-proxy": "^4.1.2",
"@navikt/next-logger": "^1.32.0",
"@swan-io/boxed": "^3.1.0",
"@tanstack/react-query": "^5.59",
"@types/react-collapse": "^5.0.4",
"amplitude-js": "^8.21.9",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"csp-header": "^5.2.1",
"date-fns": "^4.1.0",
"deep-equal": "^2.2.3",
"dotenv": "^16.4.5",
"downshift": "^9.0.8",
"express": "^4.21.1",
"globals": "^15.11.0",
"html-react-parser": "^5.1.18",
"i18next": "^23.16.2",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.6.2",
"i18next-resources-to-backend": "^1.2.1",
"libphonenumber-js": "^1.11.12",
"markdown-to-jsx": "^7.5.0",
"next": "^14",
"next-logger": "^5.0.1",
"pino": "^9.5.0",
"postcss-import": "^16.1.0",
"react": "^18.3.1",
"react-collapse": "^5.1.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.1",
"react-i18next": "^15.1.0",
"react-pdf": "^9",
"react-router-dom": "^6.27.0",
"react-scroll": "^1.9.0",
"react-use": "^17.5.1",
"server-only": "^0.0.1",
"styled-components": "^6.1.13",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/preset-env": "^7.25.9",
"@babel/preset-react": "^7.25.9",
"@eslint/js": "^9.13.0",
"@faker-js/faker": "^9.0.3",
"@tanstack/react-query-devtools": "^5.59",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@tsconfig/create-react-app": "^2.0.5",
"@types/amplitude-js": "^8.16.5",
"@types/deep-equal": "^1.0.4",
"@types/node": "^20",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/react-modal": "^3.16.3",
"@types/react-scroll": "^1.8.10",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.13.0",
"husky": "^9.1.6",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"orval": "^7.2.0",
"pino-pretty": "^11.3.0",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"react-test-renderer": "^18.3.1",
"tailwindcss": "^3.4.14",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.11.0",
"vitest": "^2.1.3"
},
"scripts": {
"build": "next build",
"tsc": "tsc",
"dev": "next dev | pino-pretty",
"start": "next start -H 0.0.0.0",
"test": "vitest",
"prepare": "husky",
"checkUpdates": "npx npm-check-updates -u",
"fetch-api": "curl -o ./soknad-api-old.json http://localhost:8181/sosialhjelp/soknad-api/v3/api-docs/old && prettier --write soknad-api-old.json && curl -o ./soknad-api-new.json http://localhost:8181/sosialhjelp/soknad-api/v3/api-docs/new && prettier --write soknad-api-new.json",
"fetch-driftsmelding-api": "curl -o ./driftsmelding-api.json http://localhost:3005/sosialhjelp/driftsmeldinger/api/api-doc && prettier --write driftsmelding-api.json",
"orval": "rm -rf ./src/generated & orval --prettier",
"lint": "eslint"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{less,css,md}": "prettier --write",
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix --max-warnings 1"
]
}
}