-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
132 lines (132 loc) · 4.06 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
{
"name": "aktivitetsplan",
"version": "2.0.0",
"description": "Aktivitetsplan",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"dev:gh-pages": "VITE_USE_HASH_ROUTER=true vite",
"build:dev-ekstern": "vite build --mode=dev-ekstern --base=https://cdn.nav.no/dab/aktivitetsplan-dev-ekstern/build/",
"build:dev-intern": "vite build --mode=dev-intern --base=https://cdn.nav.no/dab/aktivitetsplan-dev-intern/build/",
"build:prod-ekstern": "vite build --mode=prod-ekstern --base=https://cdn.nav.no/dab/aktivitetsplan-prod-ekstern/build/",
"build:prod-intern": "vite build --mode=prod-intern --base=https://cdn.nav.no/dab/aktivitetsplan-prod-intern/build/",
"build": "VITE_USE_HASH_ROUTER=true vite build --mode=dev",
"build:gh-pages": "VITE_USE_HASH_ROUTER=true vite build --mode=dev-ekstern --base=/aktivitetsplan/",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint . --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"format-all": "prettier --write 'src/'",
"lint-staged": "lint-staged",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"preview": "vite preview"
},
"dependencies": {
"@amplitude/analytics-browser": "^2.11.7",
"@hookform/resolvers": "^3.9.0",
"@navikt/aksel-icons": "^6.9.0",
"@navikt/dab-spraksjekk": "^1.0.13",
"@navikt/ds-css": "^6.9.0",
"@navikt/ds-react": "^6.9.0",
"@navikt/ds-tailwind": "^6.9.0",
"@navikt/ds-tokens": "^6.9.0",
"@reduxjs/toolkit": "^1.9.7",
"@sentry/react": "^8.33.1",
"@vitejs/plugin-react-swc": "^3.7.1",
"classnames": "^2.5.1",
"date-fns": "^3.0.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-collapse": "^5.1.1",
"react-custom-scrollbars-2": "^4.5.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-modal": "^3.16.1",
"react-pdf": "^7.7.3",
"react-redux": "^8.1.2",
"react-router-dom": "^6.26.2",
"rebound": "^0.1.0",
"redux": "^4.2.1",
"reselect": "^4.1.8",
"rollup-plugin-visualizer": "^5.12.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-plugin-html": "^3.2.2",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^2.1.8",
"zod": "^3.23.8"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,less,css,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 10",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@swc/cli": "^0.3.14",
"@swc/core": "^1.3.107",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.5.2",
"@testing-library/jest-dom": "^6.6.3",
"@types/moment-duration-format": "^2.2.6",
"@types/node": "^18.19.54",
"@types/react": "^18.3.11",
"@types/react-collapse": "^5.0.4",
"@types/react-dom": "^18.3.0",
"@types/react-modal": "^3.16.3",
"@types/react-redux": "^7.1.34",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^2.1.1",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-vitest": "^0.2.8",
"husky": "^8.0.3",
"import-sort-style-module": "^6.0.0",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"msw": "^1.3.4",
"postcss": "^8.4.33",
"prettier": "^3.3.3",
"prettier-plugin-import-sort": "0.0.7",
"tailwindcss": "^3.4.13",
"vite-plugin-static-copy": "^1.0.6"
},
"repository": {
"type": "git",
"url": "git://github.com/navikt/aktivitetsplan.git"
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"msw": {
"workerDirectory": "public"
}
}