This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.24 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
{
"name": "dp-kalkulator-frontend",
"version": "0.1.0",
"private": true,
"homepage": "https://nav.no/arbeid/dagpenger/kalkulator",
"scripts": {
"start": "react-scripts start",
"server": "npm run build && node ./server/server.js",
"docker": "npm run build && docker build -t dpkalkulator . && docker run -p 8000:8000 dpkalkulator",
"build": "react-scripts build",
"test": "react-scripts test",
"testOnce": "react-scripts test --watchAll=false --bail",
"lint": "eslint src/",
"lintStaged": "lint-staged"
},
"dependencies": {
"@navikt/ds-css": "^0.18.28",
"@navikt/ds-icons": "^0.8.17",
"@navikt/ds-react": "^0.19.27",
"@navikt/nav-dekoratoren-moduler": "^1.6.9",
"@sanity/block-content-to-react": "^3.0.0",
"@sanity/client": "^2.23.2",
"@sentry/browser": "^7.10.0",
"@types/amplitude-js": "^8.16.1",
"amplitude-js": "^8.18.5",
"axios": "^0.27.2",
"axios-mock-adapter": "^1.21.1",
"babel-polyfill": "^6.26.0",
"babel-runtime": "^6.26.0",
"chai": "^4.3.6",
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.4",
"i18next-xhr-backend": "^3.2.2",
"prop-types": "^15.8.1",
"react": "^17.0.1",
"react-collapse": "^5.1.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.17.3",
"react-router-dom": "^5.3.3",
"react-scripts": "5.0.1",
"typescript": "^4.7.4"
},
"devDependencies": {
"@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17",
"@typescript-eslint/parser": "^5.30.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"enzyme": "^3.11.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
},
"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": {
"*.{js,jsx,ts,tsx}": "eslint",
"*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
},
"prettier": {
"printWidth": 160
},
"eslintConfig": {
"extends": [
"react-app",
"prettier"
],
"rules": {
"react-hooks/exhaustive-deps": "error"
}
}
}