-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
154 lines (154 loc) · 5.75 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
144
145
146
147
148
149
150
151
152
153
154
{
"name": "nav-enonicxp-frontend",
"version": "1.2.1",
"private": true,
"scripts": {
"build": "npm run build:server && npm run build:next",
"build:next": "next build",
"build:server": "npm run build --workspace server",
"start": "npm run start --workspace server",
"dev": "cp .env.development .env && rm -fr .next && npm run build:server && npm start",
"dev-custom": "cp .env.development.local .env && npm start",
"dev-server": "cp .env.prod-local.local .env && npm run dev --workspace server",
"build-local": "cp .env.prod-local .env && npm run build",
"start-local": "cp .env.prod-local .env && npm start",
"start-clean": "rm -fr .next && npm run build-local && npm run start-local",
"build-local-failover": "cp .env.prod-local .env && IS_FAILOVER_INSTANCE=true npm run build-local",
"start-local-failover": "cp .env.prod-local .env && IS_FAILOVER_INSTANCE=true PORT=3003 npm start",
"start-clean-failover": "rm -fr .next-static && npm run build-local-failover && npm run start-local-failover",
"analyze-bundle": "ANALYZE_BUNDLE=true npm run build-local",
"lint": "npm-run-all --parallel lint:*",
"lint:tsc": "tsc",
"lint:client": "eslint src srcCommon",
"lint:server": "npm run lint --workspace server",
"test": "npm-run-all --parallel test:*",
"test:server": "npm run test --workspace server",
"test:client": "TZ=Europe/Oslo jest --testPathIgnorePatterns=server/src",
"prepare": "husky install",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"workspaces": [
"server"
],
"dependenciesComments": {
"p-limit": "Version 5.0.0 causes issues with webpack import caching",
"tough-cookie": "Transitive dependency only, bumped directly due to vulnerability alert",
"typescript": "5.4.3+ breaks some of our typeguards due to this revert https://github.com/microsoft/TypeScript/pull/57750",
"word-wrap": "Transitive dependency only, bumped directly due to vulnerability alert"
},
"dependencies": {
"@grafana/faro-web-sdk": "1.8.1",
"@grafana/faro-web-tracing": "1.8.1",
"@navikt/aksel-icons": "6.13.0",
"@navikt/ds-css": "6.13.0",
"@navikt/ds-react": "6.13.0",
"@navikt/ds-tokens": "6.13.0",
"@navikt/nav-dekoratoren-moduler": "3.0.0-beta.4",
"@navikt/nav-office-reception-info": "1.0.7",
"@reduxjs/toolkit": "2.2.6",
"csp-header": "5.2.1",
"dayjs": "1.11.11",
"fuse.js": "6.6.2",
"html-react-parser": "5.1.10",
"js-cookie": "3.0.5",
"jsdom": "24.1.0",
"jsep": "1.3.8",
"lodash.debounce": "4.0.8",
"lru-cache": "10.4.0",
"next": "14.2.4",
"node-cache": "5.1.2",
"p-limit": "6.0.0",
"pino": "9.2.0",
"react": "18.3.1",
"react-collapse": "5.1.1",
"react-dom": "18.3.1",
"react-movable": "3.2.0",
"react-redux": "9.1.2",
"redis": "4.6.15",
"rss": "1.2.2",
"sharp": "0.33.4",
"swr": "2.2.5",
"tough-cookie": "4.1.4",
"uuid": "10.0.0",
"word-wrap": "1.2.5"
},
"devDependencies": {
"@chromatic-com/storybook": "1.6.1",
"@next/bundle-analyzer": "14.2.4",
"@next/eslint-plugin-next": "14.2.4",
"@storybook/addon-essentials": "8.2.8",
"@storybook/addon-interactions": "8.2.8",
"@storybook/addon-links": "8.2.8",
"@storybook/addon-mdx-gfm": "8.2.8",
"@storybook/addon-onboarding": "8.2.8",
"@storybook/addon-storysource": "8.2.8",
"@storybook/blocks": "8.2.8",
"@storybook/nextjs": "8.2.8",
"@storybook/react": "8.2.8",
"@storybook/test": "8.2.8",
"@testing-library/jest-dom": "6.4.6",
"@testing-library/react": "16.0.0",
"@types/jest": "29.5.12",
"@types/js-cookie": "3.0.6",
"@types/lodash.debounce": "4.0.9",
"@types/mock-fs": "4.13.4",
"@types/node": "20.14.10",
"@types/react": "18.3.3",
"@types/react-collapse": "5.0.4",
"@types/react-dom": "18.3.0",
"@types/react-redux": "7.1.33",
"@types/rss": "0.0.32",
"@types/uuid": "10.0.0",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.4",
"eslint-nibble": "8.1.0",
"eslint-plugin-css-modules": "2.12.0",
"eslint-plugin-no-relative-import-paths": "1.5.5",
"eslint-plugin-storybook": "0.8.0",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-fetch-mock": "3.0.3",
"lint-staged": "15.2.7",
"mock-fs": "5.2.0",
"npm-run-all": "4.1.5",
"pino-pretty": "11.2.1",
"prettier": "3.3.2",
"sass": "1.77.6",
"storybook": "8.2.8",
"ts-jest": "29.1.5",
"typescript": "5.5.3",
"typescript-plugin-css-modules": "5.1.0"
},
"browserslist": {
"production": [
">0.2% in no",
"iOS >= 11",
"safari >= 11",
"not dead",
"not op_mini all",
"not ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"browser": {
"jsdom": false
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix src srcCommon server/src"
],
"*.{scss,css}": [
"prettier --write"
]
}
}