-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
90 lines (90 loc) · 3.46 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
{
"name": "barnepensjon-ui-client",
"version": "0.1.0",
"private": true,
"homepage": "/barnepensjon/soknad",
"type": "module",
"dependencies": {
"@amplitude/analytics-browser": "^2.11.11",
"@navikt/ds-css": "^7.9.0",
"@navikt/ds-icons": "^3.4.3",
"@navikt/ds-react": "^7.9.0",
"@navikt/fnrvalidator": "^2.1.5",
"@navikt/nav-dekoratoren-moduler": "^3.1.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitest/coverage-v8": "^3.0.5",
"axios": "1.7.9",
"axios-retry": "^4.5.0",
"bowser": "^2.11.0",
"date-fns": "^4.1.0",
"error-stack-parser": "^2.1.4",
"ibantools": "^4.5.1",
"lodash": "^4.17.21",
"nav-faker": "^3.2.4",
"react": "^19.0.0",
"react-cookie": "^7.2.2",
"react-dom": "^19.0.0",
"react-hook-form": "^7.53.2",
"react-router-dom": "^7.1.5",
"styled-components": "^6.1.14",
"typescript": "^5.7.3",
"uuid": "^11.0.5",
"vite": "^6.0.9",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.5",
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@biomejs/biome": "1.9.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.15",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/react-router-dom": "^5.3.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"concurrently": "^9.1.2",
"cypress": "^14.0.1",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"husky": "~9.1.7",
"jsdom": "^26.0.0",
"license-checker-rseidelsohn": "^4.4.2",
"prettier": "^3.4.2"
},
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn start:node\"",
"start": "vite --base /barnepensjon/soknad",
"start:node": "cd ../etterlatte-node-server && yarn start:bp",
"build": "tsc && yarn biome lint --no-errors-on-unmatched && vite build --outDir build --base /barnepensjon/soknad && yarn lisenssjekk",
"preview": "vite preview --port 5173",
"test": "vitest",
"lint": "yarn biome check --no-errors-on-unmatched",
"cy:test": "TZ=Europe/Oslo cypress run",
"cy:open": "TZ=Europe/Oslo cypress open",
"lisenssjekk": "yarn license-checker-rseidelsohn --onlyAllow \"MIT;Apache-2.0;BSD;BSD-3-Clause;ISC;BSD-2-Clause;BlueOak-1.0.0;CC-BY-3.0;CC-BY-4.0;CC0-1.0;Python-2.0;MPL-2.0;Unlicense\" --excludePackages [email protected] --summary"
},
"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
},
"resolutions": {
"**/braces": "3.0.3",
"**/ws": "7.5.10"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": ["biome check --write --no-errors-on-unmatched"]
}
}