-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 5.56 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
155
156
157
158
159
160
161
{
"name": "familie-ba-sak-frontend",
"type": "module",
"version": "0.0.1",
"main": "backend/server.js",
"repository": "https://github.com/navikt/familie-ba-sak-frontend.git",
"author": "Henning Håkonsen",
"license": "MIT",
"scripts": {
"start": "yarn set-node-options NODE_ENV=production node backend/backend/server.js",
"start:dev": "tsc -p tsconfig.backend.json && yarn set-node-options NODE_ENV=development node backend/backend/server.js",
"build": "yarn build:prod",
"build:prod": "tsc -p tsconfig.backend.json && NODE_ENV=production webpack --config ./src/webpack/webpack.prod.js",
"test": "jest",
"test:one": "jest -t",
"lint": "eslint './src/**/*.{js,ts,tsx}' --max-warnings=0",
"lint:fix": "eslint './src/**/*.{js,ts,tsx}' --fix",
"prettier-check": "prettier --check './src/**/*.{js,jsx,ts,tsx,json,css}'",
"prettier-fix": "prettier --write './src/**/*.{js,jsx,ts,tsx,json,css}'",
"prepare": "husky",
"set-node-options": "NODE_OPTIONS='--import=./backend/backend/register.js --es-module-specifier-resolution=node'",
"start:cypress": "tsc -p tsconfig.backend.json && yarn set-node-options NODE_ENV=production node backend/backend/cypress-server.js",
"run:cypress": "cypress run",
"cypress": "yarn start:cypress & yarn run:cypress",
"typecheck": "tsc --noEmit -p src/frontend/tsconfig.json --skipLibCheck && tsc --noEmit -p src/backend/tsconfig.json --skipLibCheck"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css}": [
"prettier --check",
"eslint --max-warnings=0"
]
},
"dependencies": {
"@grafana/faro-web-sdk": "^1.12.0",
"@navikt/aksel-icons": "7.5.1",
"@navikt/ds-css": "7.5.1",
"@navikt/ds-icons": "1.3.27",
"@navikt/ds-react": "7.5.1",
"@navikt/ds-tokens": "7.5.1",
"@navikt/familie-backend": "^10.1.0",
"@navikt/familie-endringslogg": "13.1.2",
"@navikt/familie-form-elements": "21.0.0",
"@navikt/familie-header": "14.1.1",
"@navikt/familie-ikoner": "9.0.0",
"@navikt/familie-logging": "7.0.0",
"@navikt/familie-skjema": "8.2.7",
"@navikt/familie-tidslinje": "10.0.0",
"@navikt/familie-typer": "8.0.2",
"@navikt/familie-visittkort": "15.1.0",
"@navikt/flagg-ikoner": "3.2.7",
"@navikt/fnrvalidator": "^2.1.0",
"@navikt/hoykontrast": "^3.1.0",
"@navikt/land-verktoy": "3.2.10",
"@navikt/landvelger": "3.1.5",
"@sentry/browser": "^8.38.0",
"@sentry/webpack-plugin": "^2.22.3",
"amplitude-js": "^8.21.9",
"axios": "^1.7.4",
"babel-loader": "^9.2.1",
"body-parser": "^1.20.3",
"classnames": "^2.5.1",
"constate": "^3.3.2",
"date-fns": "4.1.0",
"deep-equal": "^2.2.0",
"dotenv": "^16.4.0",
"express": "^4.21.0",
"http-proxy-middleware": "3.0.3",
"lodash.throttle": "^4.1.1",
"quill-delta": "^5.1.0",
"react": "^18.3.1",
"react-collapse": "^5.0.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.3.0",
"react-router-hash-link": "^2.4.3",
"rxjs": "^7.8.1",
"styled-components": "^6.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"uuid": "^11.0.3"
},
"devDependencies": {
"@axe-core/react": "^4.10.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.26.0",
"@eslint/js": "^9.15.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@testing-library/react": "^15.0.2",
"@types/amplitude-js": "^8.16.5",
"@types/classnames": "^2.3.1",
"@types/deep-equal": "^1.0.1",
"@types/eslint-plugin-jsx-a11y": "^6.9.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.8",
"@types/node": "^20.14.2",
"@types/react": "18.3.1",
"@types/react-collapse": "^5.0.1",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/react-router-hash-link": "^2.4.5",
"@types/styled-components": "^5.1.14",
"@types/uuid": "^10.0.0",
"@types/webpack-env": "^1.18.0",
"@types/webpack-hot-middleware": "^2.25.9",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"compression-webpack-plugin": "^11.1.0",
"copy-webpack-plugin": "^12.0.1",
"css-loader": "^7.1.1",
"css-minimizer-webpack-plugin": "^7.0.0",
"cypress": "^13.15.1",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.1",
"eslint-webpack-plugin": "^4.2.0",
"express-static-gzip": "^2.2.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "^15.12.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.1",
"react-refresh": "^0.14.0",
"style-loader": "^4.0.0",
"ts-jest": "^29.2.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.4.2",
"webpack-hot-middleware": "^2.26.1",
"webpack-merge": "^6.0.1"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/src/frontend/tsconfig.json"
}
},
"moduleNameMapper": {
"\\.(css|svg)$": "<rootDir>/src/mockFile.js"
},
"transformIgnorePatterns": [
"/node_modules/(?!(@navikt)/)"
],
"transform": {
"\\.[jt]sx?$": "babel-jest"
}
},
"resolutions": {
"styled-components": "^6"
}
}