-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
133 lines (133 loc) · 4.76 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
{
"name": "altinn-studio",
"dependencies": {
"@altinn/altinn-design-system": "0.30.2",
"@altinn/figma-design-tokens": "6.0.1",
"@digdir/design-system-tokens": "0.13.0",
"@digdir/designsystemet-css": "0.10.0",
"@digdir/designsystemet-react": "0.63.1",
"@digdir/designsystemet-theme": "0.15.3",
"@microsoft/applicationinsights-react-js": "17.3.4",
"@microsoft/applicationinsights-web": "3.3.4",
"@microsoft/signalr": "8.0.7",
"@tanstack/react-query": "5.62.2",
"@tanstack/react-query-devtools": "5.62.2",
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"i18next": "23.16.8",
"identity-obj-proxy": "3.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "4.1.2",
"react-i18next": "15.1.3",
"react-router-dom": "6.28.0",
"react-toastify": "10.0.6"
},
"devDependencies": {
"@svgr/webpack": "8.1.0",
"@swc/core": "1.10.0",
"@swc/jest": "0.2.37",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/css-modules": "1.0.5",
"@types/jest": "29.5.14",
"@types/react": "18.3.14",
"@types/react-dom": "18.3.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-testing-library": "7.1.1",
"glob": "11.0.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-fail-on-console": "3.3.1",
"jest-junit": "16.0.0",
"lint-staged": "15.2.10",
"mini-css-extract-plugin": "2.9.2",
"prettier": "3.4.2",
"source-map-loader": "5.0.0",
"swc-loader": "0.2.6",
"terser-webpack-plugin": "5.3.10",
"typescript": "5.7.2",
"typescript-plugin-css-modules": "5.1.0",
"webpack": "5.97.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0",
"whatwg-fetch": "3.6.20"
},
"resolutions": {
"@testing-library/dom": "10.4.0",
"@babel/traverse": "7.26.4",
"caniuse-lite": "1.0.30001687"
},
"lint-staged": {
"*{js,jsx,tsx,ts,css,md}": "prettier -w",
"./frontend/language/src/*.json": "yarn run sort-texts"
},
"packageManager": "[email protected]",
"private": true,
"scripts": {
"build": "yarn workspaces foreach -A -p run build",
"lint": "eslint \"frontend/**/*.ts*\"",
"lint:fix": "yarn run lint --fix",
"codestyle:check": "prettier frontend --check",
"codestyle:fix": "prettier frontend --write",
"setup": "husky && node development/setup.js && yarn run git:ignore-revs",
"sort-texts": "yarn workspace @altinn-studio/language run sort",
"start-app-development": "yarn workspace app-development start",
"start-app-preview": "yarn workspace app-preview start",
"start-dashboard": "yarn workspace dashboard start",
"start-resourceadm": "yarn workspace resourceadm start",
"start-studio-root": "yarn workspace studio-root start",
"stats": "node frontend/stats.js",
"syncpack": "npx syncpack fix-mismatches && npx syncpack format && npx syncpack set-semver-ranges",
"test": "jest --maxWorkers=50% --config=frontend/jest.config.js",
"test:ci": "jest --ci --coverage --max-workers=2 --cacheDirectory=$(yarn config get cacheFolder) --config=frontend/jest.config.js",
"typecheck": "tsc --noEmit -p frontend",
"playwright:test:all": "yarn workspace playwright-studio test:all",
"playwright:test:ui": "yarn workspace playwright-studio test:ui",
"resourceadm:playwright:test:ui": "yarn workspace playwright-resourceadm resourceadm:test:ui",
"resourceadm:playwright:test:all": "yarn workspace playwright-resourceadm resourceadm:test:all",
"git:ignore-revs": "git config blame.ignoreRevsFile .git-blame-ignore-revs"
},
"syncpack": {
"semverRange": ""
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 8",
"not op_mini all"
],
"workspaces": [
"development/azure-devops-mock",
"frontend/app-development",
"frontend/app-preview",
"frontend/dashboard",
"frontend/resourceadm",
"frontend/resourceadm/testing/playwright",
"frontend/language",
"frontend/studio-root",
"frontend/testing/cypress",
"frontend/testing/playwright",
"frontend/packages/schema-editor",
"frontend/packages/schema-model",
"frontend/packages/shared",
"frontend/packages/text-editor",
"frontend/packages/ux-editor",
"frontend/packages/ux-editor-v3",
"frontend/packages/process-editor",
"frontend/packages/policy-editor",
"frontend/libs/**"
]
}