-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 4.31 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
{
"name": "@navikt/skjemabryggeriet",
"version": "1.0.0",
"private": true,
"description": "Repository for skjemabygger og skjemautfyller",
"repository": {
"type": "git",
"url": "https://github.com/navikt/skjemabygging-formio.git"
},
"license": "SEE LICENSE IN LICENSE.md",
"workspaces": {
"packages": [
"packages/shared-domain",
"packages/shared-components",
"packages/*"
],
"nohoist": [
"**/bygger-backend/**",
"**/fyllut-backend/**"
]
},
"scripts": {
"build": "yarn workspaces run build",
"clean": "yarn workspaces run clean",
"start": "concurrently --kill-others-on-fail \"yarn:start:fyllut\" \"yarn:start:bygger\"",
"start:bygger": "concurrently --kill-others-on-fail \"yarn workspace @navikt/bygger-backend start\" \"yarn workspace @navikt/bygger-frontend start\"",
"start:fyllut": "concurrently --kill-others-on-fail \"yarn workspace @navikt/fyllut-backend start\" \"yarn workspace @navikt/fyllut-frontend start\"",
"start:fyllut:env:test": "concurrently --kill-others-on-fail \"yarn workspace @navikt/fyllut-backend start:env:test\" \"yarn workspace @navikt/fyllut-frontend start\"",
"preview:bygger": "yarn workspace @navikt/bygger-backend preview",
"preview:fyllut": "yarn workspace @navikt/fyllut-backend preview",
"test": "concurrently \"yarn workspace @navikt/bygger-frontend test\" \"yarn workspace @navikt/bygger-backend test\" \"yarn workspace @navikt/fyllut-frontend test\" \"yarn workspace @navikt/fyllut-backend test\" \"yarn workspace @navikt/skjemadigitalisering-shared-domain test\" \"yarn workspace @navikt/skjemadigitalisering-shared-components test\"",
"test:bygger": "concurrently \"yarn workspace @navikt/bygger-frontend test\" \"yarn workspace @navikt/bygger-backend test\"",
"test:fyllut": "concurrently \"yarn workspace @navikt/fyllut-frontend test\" \"yarn workspace @navikt/fyllut-backend test\"",
"test:shared-domain": "yarn workspace @navikt/skjemadigitalisering-shared-domain test",
"test:shared-components": "yarn workspace @navikt/skjemadigitalisering-shared-components test",
"test:coverage": "yarn workspaces run test:coverage",
"cypress:bygger": "yarn workspace @navikt/bygger-frontend cypress",
"cypress:fyllut": "yarn workspace @navikt/fyllut-frontend cypress",
"cypress:bygger:open": "yarn workspace @navikt/bygger-frontend cypress:open",
"cypress:fyllut:open": "yarn workspace @navikt/fyllut-frontend cypress:open",
"check-types": "yarn workspaces run check-types",
"mocks:fyllut": "cd mocks && yarn mocks:fyllut",
"mocks:fyllut:no-cli": "cd mocks && yarn mocks:fyllut:no-cli",
"lint": "eslint .",
"lint:staged": "lint-staged",
"prepare": "husky",
"prettier": "prettier --write ."
},
"devDependencies": {
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/user-event": "^14.5.2",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.13",
"@types/react": "18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/browser": "^1.6.0",
"@vitest/coverage-v8": "^1.6.0",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"cypress": "^13.15.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-chai-friendly": "^1.0.1",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.3.0",
"eslint-plugin-vitest": "^0.5.4",
"husky": "^9.1.6",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"rimraf": "^6.0.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0",
"vite": "^5.4.8",
"vite-plugin-html": "^3.2.2",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^1.6.0",
"vitest-fetch-mock": "^0.3.0"
},
"engines": {
"node": ">=20.9.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs}": [
"eslint --fix",
"prettier --write"
],
"*.{md,mdx}": [
"prettier --write"
]
}
}