-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 4.36 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
{
"name": "arbeidsrettet-dialog",
"version": "1.0.0",
"homepage": "/arbeid/dialog",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/navikt/arbeidsrettet-dialog.git"
},
"engines": {
"node": "20"
},
"scripts": {
"dev": "vite",
"build:dev-ekstern": "tsc --noEmit && vite build --mode=dev-ekstern --base=https://cdn.nav.no/dab/arbeidsrettet-dialog-dev-ekstern/build/",
"build:dev-intern": "tsc --noEmit && vite build --mode=dev-intern --base=https://cdn.nav.no/dab/arbeidsrettet-dialog-dev-intern/build/",
"build:prod-ekstern": "tsc --noEmit && vite build --mode=prod-ekstern --base=https://cdn.nav.no/dab/arbeidsrettet-dialog-prod-ekstern/build/",
"build:prod-intern": "tsc --noEmit && vite build --mode=prod-intern --base=https://cdn.nav.no/dab/arbeidsrettet-dialog-prod-intern/build/",
"build:gh-pages": "VITE_USE_HASH_ROUTER=true vite build --mode=dev-ekstern --base=/arbeidsrettet-dialog/",
"build": "tsc --noEmit && vite build",
"test": "vitest",
"coverage": "vitest run --coverage",
"test:coverage": "npm test -- --coverage --watchAll=false",
"format-all": "prettier --write 'src/'",
"prettier-check": "prettier --check 'src/'",
"lint": "echo \"Not implemented\"",
"lint-staged": "lint-staged",
"storybook": "STORYBOOK_USE_HASH_ROUTER=true storybook dev -p 6006",
"build-storybook": "STORYBOOK_USE_HASH_ROUTER=true storybook build",
"chromatic": "chromatic --exit-zero-on-changes"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,less,css,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"dependencies": {
"@amplitude/analytics-browser": "^2.11.7",
"@grafana/faro-web-sdk": "^1.10.2",
"@hookform/resolvers": "^3.9.0",
"@navikt/aksel-icons": "^7.0.0",
"@navikt/ds-css": "^7.0.0",
"@navikt/ds-react": "^7.0.0",
"@navikt/ds-tailwind": "^7.0.0",
"@sentry/react": "^8.32.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitejs/plugin-react-swc": "^3.7.1",
"core-js": "^3.38.1",
"date-fns": "^3.6.0",
"less": "^4.2.0",
"msw-storybook-addon": "^2.0.2",
"query-string": "^9.1.0",
"react": "^18.3.1",
"react-collapse": "^5.1.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-markdown": "^9.0.1",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0",
"remark-gfm": "^4.0.0",
"uuid": "^9.0.1",
"vite": "^5.4.8",
"vite-plugin-html": "^3.2.2",
"vite-plugin-svgr": "^4.2.0",
"zod": "^3.23.8",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@storybook/addon-essentials": "^8.3.4",
"@storybook/addon-interactions": "^8.3.4",
"@storybook/addon-links": "^8.3.4",
"@storybook/addon-onboarding": "^8.3.4",
"@storybook/blocks": "^8.3.4",
"@storybook/react": "^8.3.4",
"@storybook/react-vite": "^8.3.4",
"@storybook/testing-library": "^0.2.2",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^15.0.7",
"@types/node": "^22.7.4",
"@types/react": "^18.3.10",
"@types/react-collapse": "^5.0.4",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^9.0.8",
"@vitest/coverage-istanbul": "^2.1.1",
"@vitest/coverage-v8": "^2.1.1",
"autoprefixer": "^10.4.20",
"babel-plugin-transform-regex": "^4.1.1",
"chromatic": "^7.6.0",
"classnames": "^2.5.1",
"cross-env": "^7.0.3",
"graphql": "^16.9.0",
"husky": "^9.1.6",
"import-sort-style-module": "^6.0.0",
"jsdom": "^24.1.3",
"lint-staged": "^15.2.10",
"msw": "^2.4.9",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-import-sort": "0.0.7",
"prettier-plugin-tailwindcss": "^0.5.14",
"storybook": "^8.3.4",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"msw": {
"workerDirectory": [
"public"
]
},
"bugs": {
"url": "https://github.com/navikt/arbeidsrettet-dialog/issues"
}
}