-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.86 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
{
"name": "@navikt/arbeidsforhold",
"author": "NAVIKT",
"license": "MIT",
"version": "4.1.3",
"description": "React modul som viser brukerens arbeidsforhold",
"main": "dist/index.cjs.js",
"exports": {
"./index.css": "./dist/index.css",
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"types": "./dist/types/index.d.ts"
},
"./mockDetaljert": {
"import": "./dist/mockDetailert.esm.js",
"require": "./dist/mockDetailert.cjs.js"
},
"./mockListe": {
"import": "./dist/mockListe.esm.js",
"require": "./dist/mockListe.cjs.js"
}
},
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"type": "module",
"scripts": {
"build": "tsc && vite build",
"dev": "npm-run-all -p dev:*",
"dev:module": "vite build --mode development --watch",
"dev:example": "npm run start --workspace=example",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"test": "vitest",
"publish:prepatch": "npm run build && npm version prepatch --preid beta && npm publish --access public --tag beta",
"publish:preminor": "npm run build && npm version preminor --preid beta && npm publish --access public --tag beta",
"publish:premajor": "npm run build && npm version premajor --preid beta && npm publish --access public --tag beta",
"prepare": "husky"
},
"workspaces": [
"example"
],
"repository": {
"type": "git",
"url": "git+https://github.com/navikt/arbeidsforhold.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"keywords": [
"react",
"arbeidsforhold"
],
"bugs": {
"url": "https://github.com/navikt/arbeidsforhold/issues"
},
"engines": {
"node": ">=8",
"npm": ">=5"
},
"dependencyComments": {
"@react-pft/renderer": "There's an issue with how we built the PDF viewing and newer versions seems to crash the viewing. Keep the version for now. Also, we're discussing moving away from PDF and show a print friendly version istead."
},
"peerDependencies": {
"@navikt/aksel-icons": "7",
"@navikt/ds-css": "7",
"@navikt/ds-react": "7",
"@navikt/fnrvalidator": "2",
"@react-pdf/renderer": "3.4.4",
"classnames": "2",
"dayjs": "1",
"lodash.throttle": "4",
"react": "18",
"react-modal": "3"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-typescript": "7.26.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"@types/fetch-mock": "7.3.8",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vitejs/plugin-react": "4.3.4",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.3",
"husky": "9.1.7",
"jsdom": "25.0.1",
"less": "4.2.1",
"less-plugin-npm-import": "2.1.0",
"npm-run-all": "4.1.5",
"prettier": "3.4.2",
"sass": "1.83.0",
"typescript": "5.7.2",
"vite": "6.0.7",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"@rollup/plugin-typescript": "11.1.1",
"vitest-fetch-mock": "0.4.3"
},
"dependencies": {
"fetch-mock": "^12.2.0",
"react-router-dom": "^6.26.2"
}
}