-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 5.21 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "k9-sak-web",
"description": "Klient for K9",
"main": "./dist/index.js",
"type": "module",
"author": "NAV",
"private": true,
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/navikt/k9-sak-web.git"
},
"scripts": {
"test": "vitest",
"test:all:testonly": "vitest --selectProjects test",
"test:watch": "vitest --watch --silent=false",
"test:watch:all": "vitest --watchAll",
"test:coverage": "vitest --coverage --selectProjects test",
"test-storybook": "test-storybook --url http://127.0.0.1:9001 --testTimeout=30_000",
"ts-check": "tsc --pretty && tsc --pretty --project packages/v2/tsconfig.json",
"lint": "eslint --cache packages",
"lint:fix": "eslint --fix --cache packages --ext .ts,.tsx,.js,.jsx",
"css:lint": "stylelint \"packages/**/*.css\"",
"css:modules:typegen": "tcm ./packages/v2/gui --camelCase dashes --allowArbitraryExtensions ",
"css:modules:typegen:watch": "tcm ./packages/v2/gui --camelCase dashes --allowArbitraryExtensions --watch",
"css:modules:typegen:check": "tcm ./packages/v2/gui --camelCase dashes --allowArbitraryExtensions --listDifferent",
"dev": "yarn cross-env APP_URL_K9FORMIDLING=http://localhost:8060/rest/dummy vite serve",
"dev-lokal": "cross-env NODE_ENV=development APP_URL_SAK=http://k9-sak:8080 APP_URL_K9OPPDRAG=http://k9-oppdrag:8070 APP_URL_K9FORMIDLING_DD=http://k9-formidling-dokumentdata:8294 APP_URL_K9FORMIDLING=http://localhost:8290 SPLITTET_SAMMENLINGNING_BEREGNING=true vite serve",
"dev-med-formidling": "yarn cross-env APP_URL_K9FORMIDLING=http://k9-formidling:8290 SPLITTET_SAMMENLINGNING_BEREGNING=true vite serve",
"build": "VITE_SENTRY_RELEASE=$(git rev-parse --short HEAD) vite build",
"up": "docker-compose up -d --remove-orphans --build",
"down": "docker-compose down",
"preview": "vite preview",
"storybook": "VITE_LOCAL_STORYBOOK=true storybook dev -p 9001",
"build-storybook": "storybook build -o .static_storybook",
"build-storybook-test": "VITE_LOCAL_STORYBOOK=true storybook build --test -o .static_storybook",
"prepare": "husky",
"sentry-release": "(SENTRY_RELEASE=$(git rev-parse --short HEAD); node ./scripts/sentry-release.cjs)"
},
"workspaces": [
"packages/*",
"packages/v2/*"
],
"dependencies": {
"@hookform/error-message": "^2.0.1",
"@navikt/aksel-icons": "7.5.3",
"@navikt/ds-css": "7.5.3",
"@navikt/ds-react": "7.5.3",
"@navikt/ds-tailwind": "^7.5.3",
"@navikt/familie-endringslogg": "13.1.4",
"@navikt/ft-plattform-komponenter": "5.1.3",
"@popperjs/core": "2.11.8",
"@sentry/browser": "8.40.0",
"@sentry/react": "^8.40.0",
"axios": "1.7.7",
"date-fns": "4.1.0",
"date-fns-tz": "3.2.0",
"history": "5.3.0",
"i18n-iso-countries": "7.13.0",
"node-cache": "5.1.2",
"postcss-import": "^16.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router": "6.28.0",
"react-router-dom": "6.28.0",
"vite-plugin-svgr": "4.3.0"
},
"devDependencies": {
"@playwright/test": "^1.49.0",
"@sentry/cli": "2.39.0",
"@storybook/addon-a11y": "^8.4.5",
"@storybook/addon-actions": "^8.4.5",
"@storybook/addon-docs": "^8.4.5",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/cli": "^8.4.5",
"@storybook/react": "^8.4.5",
"@storybook/react-vite": "^8.4.5",
"@storybook/test": "^8.4.5",
"@storybook/test-runner": "^0.19.1",
"@storybook/theming": "^8.4.5",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/history": "5.0.0",
"@types/object-hash": "^3.0.6",
"@types/prop-types": "15.7.13",
"@types/react": "18.3.12",
"@types/react-collapse": "5.0.4",
"@types/react-router-dom": "5.3.3",
"@types/redux-form": "8.3.11",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"axios-mock-adapter": "2.1.0",
"cross-env": "7.0.3",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-vitest": "~0.5.4",
"globals": "^15.12.0",
"husky": "9.1.7",
"jsdom": "25.0.1",
"lint-staged": "15.2.10",
"msw": "2.6.6",
"msw-storybook-addon": "^2.0.4",
"postcss": "^8.4.49",
"prettier": "3.3.3",
"react-popper": "2.3.0",
"storybook": "^8.4.5",
"stylelint": "16.10.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "6.0.4",
"tailwindcss": "^3.4.15",
"typed-css-modules": "^0.9.1",
"typescript": "5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^5.4.11",
"vite-plugin-html": "^3.2.2",
"vitest": "2.1.5",
"vitest-axe": "0.1.0"
},
"resolutions": {
"postcss": "8.4.49",
"parse-url": "8.1.0",
"@types/react": "17"
},
"msw": {
"workerDirectory": "public"
},
"lint-staged": {
"packages/**/!(*.module.d.css).(ts|tsx|js|jsx)": [
"eslint --cache --fix",
"prettier --write"
],
"packages/**/*.css": [
"stylelint --fix",
"prettier --write"
]
},
"packageManager": "yarn@3.4.1"
}