-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 5.05 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 5.05 KB
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
{
"name": "@fremtind/jkl",
"private": true,
"version": "2.0.0-alpha.0",
"type": "module",
"scripts": {
"clean": "git clean -xfd -e '*.env*'",
"build": "pnpm --filter \"@fremtind/*\" -r build",
"docker:build:mcp": "docker build -f Dockerfile.mcp-server -t jokul-mcp-server .",
"build:docs": "pnpm build && pnpm build:storybook",
"build:portal": "pnpm --filter \"portal\" build",
"build:storybook": "storybook build",
"commit": "git-cz",
"cosign": "git-cz -S",
"typecheck": "tsc --noEmit",
"lint": "biome check --reporter=summary",
"lint:fix": "biome check --write --reporter=summary",
"lint:ci": "biome lint --reporter=github",
"ci:test": "run-p test lint:ci typecheck",
"test": "pnpm --filter \"@fremtind/jokul\" test",
"changeset": "changeset",
"release:version": "changeset version",
"release:pre:enter": "changeset pre enter next",
"release:pre:exit": "changeset pre exit",
"release:publish": "pnpm build && changeset publish",
"release": "pnpm release:publish",
"dev": "run-p dev:portal dev:storybook build:storybook",
"dev:portal": "pnpm --filter \"portal\" dev",
"dev:storybook": "storybook dev -p 6007 --no-open",
"start": "run-p start:portal start:server",
"start:portal": "pnpm --filter \"portal\" start",
"start:server": "node server.js",
"boot": "pnpm install && pnpm prepare && pnpm build",
"reboot": "pnpm clean && pnpm boot",
"integration:new": "playwright test --project=\"Nye integrasjonstester\"",
"integration:ci": "playwright test --project=chromium",
"integration:interactive": "playwright test --project=chromium --ui",
"integration:axe": "playwright test -g axe",
"prepare": "husky || true"
},
"packageManager": "pnpm@10.21.0",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"pnpm": {
"overrides": {
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-is": "18.3.1",
"axe-core": "^4.6.3",
"chokidar": "^3.5.3",
"glob-stream>glob-parent": "^5.1.2",
"resolve-url-loader>loader-utils": "^1.4.2",
"sharp": "0.33.5"
}
},
"dependencies": {
"fs-extra": "^11.3.1",
"glob": "^13.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"winston": "^3.17.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.2",
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.29.5",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/cz-commitlint": "^19.8.1",
"@fremtind/stylelint-config-jkl": "workspace:*",
"@playwright/test": "^1.54.2",
"@storybook/addon-a11y": "10.2.10",
"@storybook/addon-docs": "10.2.10",
"@storybook/addon-onboarding": "10.2.10",
"@storybook/nextjs": "10.2.10",
"@storybook/react-vite": "10.2.10",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.7.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.5.2",
"@types/express": "^4.17.23",
"@types/glob": "^9.0.0",
"@types/node": "^18.19.123",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@types/react-is": "^18.3.1",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/testing-library__jest-dom": "^5.14.9",
"@vitejs/plugin-react": "^4.7.0",
"@vitejs/plugin-react-swc": "^3.11.0",
"browserslist": "^4.28.1",
"clsx": "^2.1.1",
"commitizen": "^4.3.1",
"esbuild": "^0.25.5",
"express": "^4.21.2",
"express-http-proxy": "^2.1.1",
"gh-pages": "5.0.0",
"husky": "^9.1.7",
"lint-staged": "^13.3.0",
"npm-run-all": "^4.1.5",
"react-syntax-highlighter": "^15.6.1",
"sass": "^1.90.0",
"storybook": "10.2.10",
"stylelint": "^16.23.1",
"tiny-glob": "^0.2.9",
"typescript": "^5.9.2",
"vite": "^7.3.2"
},
"browserslist": [
">0.2% in no",
"not ie <= 11",
"not dead",
"not op_mini all"
],
"lint-staged": {
"*.{html,json,md,mdx,ts,tsx,js,jsx}": [
"pnpm biome check --write --no-errors-on-unmatched"
],
"*.{scss,css}": [
"stylelint --fix --config=packages/stylelint-config-jkl/index.mjs"
],
"./portal/src/sanity/**/*.(ts|tsx)": [
"pnpm --filter \"portal\" typegen",
"git add ./portal/src/sanity/extract.json",
"git add ./portal/src/sanity/types.ts"
]
},
"stylelint": {
"extends": "./packages/stylelint-config-jkl/index.mjs"
},
"eslintConfig": {
"extends": ["plugin:storybook/recommended"]
}
}