-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.12 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
{
"name": "@digdir/designsystemet-react",
"type": "module",
"version": "1.13.3",
"description": "React components for Designsystemet",
"author": "Designsystemet team",
"repository": {
"type": "git",
"url": "git+https://github.com/digdir/designsystemet.git"
},
"homepage": "https://github.com/digdir/designsystemet/tree/main/packages/react",
"license": "MIT",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./colors": {
"types": "./dist/types/colors.d.ts"
},
"./react-types": {
"types": "./dist/react-types.d.ts"
}
},
"files": [
"dist/**"
],
"scripts": {
"build": "pnpm run clean && tsc -b tsconfig.lib.json --emitDeclarationOnly false && rollup -c --bundleConfigAsCjs",
"clean": "rimraf dist && rimraf tsc-build && rimraf --glob \"*.tsbuildinfo\"",
"types": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=18.3.1 || ^19.0.0",
"react-dom": ">=18.3.1 || ^19.0.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@digdir/designsystemet-types": "workspace:",
"@digdir/designsystemet-web": "workspace:",
"@floating-ui/dom": "^1.7.6",
"@floating-ui/react": "0.26.23",
"@navikt/aksel-icons": "^8.10.2",
"@radix-ui/react-slot": "^1.2.4",
"@tanstack/react-virtual": "^3.13.24",
"clsx": "^2.1.1"
},
"devDependencies": {
"@digdir/designsystemet-css": "workspace:^",
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-node-resolve": "16.0.3",
"@storybook/addon-docs": "10.3.5",
"@storybook/addon-vitest": "10.3.5",
"@storybook/react-vite": "10.3.5",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"react": "19.2.5",
"react-dom": "19.2.5",
"rimraf": "6.1.3",
"rollup": "4.60.2",
"rollup-plugin-copy": "3.5.0",
"storybook": "10.3.5",
"tsx": "4.21.0",
"typescript": "5.9.3"
}
}