Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.6 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.6 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
{
"name": "@shlinkio/shlink-web-component",
"description": "Minimal UI to interact with Shlink on React applications",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/shlinkio/shlink-web-component.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./api-contract": {
"import": "./dist/api-contract.js",
"types": "./dist/api-contract/index.d.ts"
},
"./settings": {
"import": "./dist/settings.js",
"types": "./dist/settings/index.d.ts"
},
"./tailwind.preset.css": {
"style": "./dist/tailwind.preset.css",
"default": "./dist/tailwind.preset.css"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "vite build && cp ./src/tailwind.preset.css ./dist/tailwind.preset.css",
"vitest": "vitest",
"test": "vitest run",
"test:ci": "node --run test -- --coverage",
"cs": "node --run lint && node --run format:check",
"cs:fix": "node --run lint:fix && node --run format",
"lint": "oxlint dev src test ./*.config.ts",
"lint:fix": "node --run lint -- --fix",
"format": "oxfmt dev src test ./*.config.ts",
"format:check": "node --run format -- --check",
"types": "tsc",
"dev": "vite serve --host 0.0.0.0 --port 3002",
"dev:sub-route": "vite serve --host 0.0.0.0 --port 3003 --base=\"/sub/route\""
},
"peerDependencies": {
"@fortawesome/fontawesome-svg-core": "^7.0.0",
"@fortawesome/free-brands-svg-icons": "^7.0.0",
"@fortawesome/free-regular-svg-icons": "^7.0.0",
"@fortawesome/free-solid-svg-icons": "^7.0.0",
"@fortawesome/react-fontawesome": "^3.0.0",
"@reduxjs/toolkit": "^2.5.1",
"@shlinkio/shlink-frontend-kit": "^1.6.1",
"@shlinkio/shlink-js-sdk": "^3.2.1",
"react": "^19.1",
"react-dom": "^19.1",
"react-redux": "^9.2.0",
"react-router": "^8.0.1"
},
"peerDependenciesMeta": {
"@shlinkio/shlink-js-sdk": {
"optional": true
}
},
"dependencies": {
"@formkit/drag-and-drop": "^0.5.3",
"@json2csv/plainjs": "^7.0.8",
"@microsoft/fetch-event-source": "^2.0.1",
"@shlinkio/data-manipulation": "^1.1.0",
"bottlejs": "^2.0.1",
"bowser": "^2.15.0",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
"date-fns": "^4.4.0",
"leaflet": "^1.9.4",
"qr-code-styling": "^1.9.2",
"react-external-link": "^2.8.0",
"react-leaflet": "^5.0",
"react-swipeable": "^7.0.2",
"recharts": "^3.11.0"
},
"devDependencies": {
"@shlinkio/eslint-config-js-coding-standard": "~4.2.0",
"@shlinkio/shlink-js-sdk": "^3.1.0",
"@tailwindcss/vite": "^4.3.5",
"@total-typescript/shoehorn": "^0.1.2",
"@total-typescript/ts-reset": "^0.6.1",
"@types/leaflet": "^1.9.22",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript/typescript6": "^6.0.2",
"@vitejs/plugin-react": "^6.3.0",
"@vitest/browser": "^5.1.1",
"@vitest/browser-playwright": "^5.0.1",
"@vitest/coverage-v8": "^5.0.0",
"axe-core": "^4.14.1",
"history": "^5.3.0",
"oxfmt": "^0.79.0",
"oxlint": "^1.94.0",
"oxlint-tsgolint": "^7.0.2006",
"playwright": "^1.65.1",
"tailwindcss": "^4.1.5",
"typescript": "^7.0.2",
"vite": "^8.3.8",
"vite-plugin-dts": "^5.1.2",
"vitest": "^5.0.0",
"vitest-browser-react": "^2.3.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}