-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
117 lines (117 loc) · 3.6 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
{
"name": "@shlinkio/shlink-web-component",
"description": "Minimal UI to interact with Shlink on React applications",
"private": false,
"repository": "https://github.com/shlinkio/shlink-web-component",
"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.d.ts"
},
"./settings": {
"import": "./dist/settings.js",
"types": "./dist/settings.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"test": "vitest run",
"test:ci": "npm run test -- --coverage",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint src/*.scss src/**/*.scss dev/*.scss dev/**/*.scss",
"lint:js": "eslint dev src test",
"lint:fix": "npm run lint:css:fix && npm run lint:js:fix",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js:fix": "npm run lint:js -- --fix",
"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": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@reduxjs/toolkit": "^2.0.1",
"@shlinkio/shlink-frontend-kit": "^0.6.0",
"@shlinkio/shlink-js-sdk": "^1.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.0.1",
"react-router-dom": "^6.20.1",
"reactstrap": "^9.2.0"
},
"peerDependenciesMeta": {
"@shlinkio/shlink-js-sdk": {
"optional": true
}
},
"dependencies": {
"@formkit/drag-and-drop": "^0.0.38",
"@json2csv/plainjs": "^7.0.6",
"@shlinkio/data-manipulation": "^1.0.3",
"bottlejs": "^2.0.1",
"bowser": "^2.11.0",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
"date-fns": "^4.1.0",
"event-source-polyfill": "^1.0.31",
"leaflet": "^1.9.4",
"react-external-link": "^2.3.1",
"react-leaflet": "^4.2.1",
"react-swipeable": "^7.0.2",
"react-tag-autocomplete": "^7.3.0",
"recharts": "^2.13.3"
},
"devDependencies": {
"@shlinkio/eslint-config-js-coding-standard": "~3.2.1",
"@shlinkio/stylelint-config-css-coding-standard": "~1.1.1",
"@stylistic/eslint-plugin": "^2.10.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@total-typescript/shoehorn": "^0.1.2",
"@total-typescript/ts-reset": "^0.6.1",
"@types/leaflet": "^1.9.14",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.4",
"axe-core": "^4.10.2",
"bootstrap": "5.2.3",
"eslint": "^9.14.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"history": "^5.3.0",
"jsdom": "^25.0.1",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.80.6",
"stylelint": "^15.11.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"vite": "^5.4.10",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.0.2"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}