2018-05-13 09:57:47 +03:00
|
|
|
{
|
2019-10-05 20:08:50 +03:00
|
|
|
"name": "shlink-web-client",
|
2018-08-26 11:30:20 +03:00
|
|
|
"description": "A React-based progressive web application for shlink",
|
2018-06-14 20:42:42 +03:00
|
|
|
"private": false,
|
2019-04-28 13:07:09 +03:00
|
|
|
"homepage": "",
|
2019-08-24 17:38:44 +03:00
|
|
|
"repository": "https://github.com/shlinkio/shlink-web-client",
|
|
|
|
"license": "MIT",
|
2018-08-04 11:20:19 +03:00
|
|
|
"scripts": {
|
2020-12-30 22:10:37 +03:00
|
|
|
"lint": "npm run lint:css && npm run lint:js",
|
2018-09-01 12:37:58 +03:00
|
|
|
"lint:css": "stylelint src/*.scss src/**/*.scss",
|
2021-08-16 14:21:53 +03:00
|
|
|
"lint:js": "eslint --ext .js,.ts,.tsx src test",
|
|
|
|
"lint:fix": "npm run lint:css:fix && npm run lint:js:fix",
|
2019-04-14 22:58:10 +03:00
|
|
|
"lint:css:fix": "npm run lint:css -- --fix",
|
2021-08-16 14:21:53 +03:00
|
|
|
"lint:js:fix": "npm run lint:js -- --fix",
|
2022-12-24 12:18:26 +03:00
|
|
|
"start": "vite serve --host=0.0.0.0",
|
2023-03-08 11:18:32 +03:00
|
|
|
"preview": "vite preview --host=0.0.0.0",
|
2022-12-26 12:24:53 +03:00
|
|
|
"build": "tsc --noEmit && vite build && node scripts/replace-version.mjs",
|
2022-05-15 09:32:36 +03:00
|
|
|
"build:dist": "npm run build && node scripts/create-dist-file.mjs",
|
2022-08-03 18:29:07 +03:00
|
|
|
"test": "jest --env=jsdom --colors",
|
2021-09-19 11:31:53 +03:00
|
|
|
"test:coverage": "npm run test -- --coverage --coverageReporters=text --coverageReporters=text-summary",
|
2022-05-06 20:46:47 +03:00
|
|
|
"test:ci": "npm run test:coverage -- --coverageReporters=clover --ci",
|
2021-09-19 11:31:53 +03:00
|
|
|
"test:pretty": "npm run test:coverage -- --coverageReporters=html",
|
2023-02-17 22:09:31 +03:00
|
|
|
"test:verbose": "npm run test -- --verbose"
|
2018-08-04 11:20:19 +03:00
|
|
|
},
|
2018-05-13 09:57:47 +03:00
|
|
|
"dependencies": {
|
2022-12-24 12:48:03 +03:00
|
|
|
"@babel/preset-env": "^7.20.2",
|
|
|
|
"@babel/preset-react": "^7.18.6",
|
|
|
|
"@babel/preset-typescript": "^7.18.6",
|
2023-03-13 20:01:21 +03:00
|
|
|
"@fortawesome/fontawesome-free": "^6.3.0",
|
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.3.0",
|
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.3.0",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.3.0",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.3.0",
|
2022-10-03 21:06:57 +03:00
|
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
2022-12-24 12:18:26 +03:00
|
|
|
"@json2csv/plainjs": "^6.1.2",
|
2022-12-26 00:31:28 +03:00
|
|
|
"@reduxjs/toolkit": "^1.9.1",
|
|
|
|
"bootstrap": "^5.2.3",
|
2022-10-03 21:06:57 +03:00
|
|
|
"bottlejs": "^2.0.1",
|
2020-11-14 13:00:41 +03:00
|
|
|
"bowser": "^2.11.0",
|
2022-12-25 11:53:50 +03:00
|
|
|
"chart.js": "^4.1.1",
|
2022-12-26 00:31:28 +03:00
|
|
|
"classnames": "^2.3.2",
|
|
|
|
"compare-versions": "^5.0.3",
|
2022-03-31 21:18:05 +03:00
|
|
|
"csvtojson": "^2.0.10",
|
2022-10-05 00:09:30 +03:00
|
|
|
"date-fns": "^2.29.3",
|
|
|
|
"event-source-polyfill": "^1.0.31",
|
2022-10-05 17:35:44 +03:00
|
|
|
"history": "^5.3.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"leaflet": "^1.9.3",
|
2022-10-05 00:09:30 +03:00
|
|
|
"qs": "^6.11.0",
|
2022-03-07 19:09:54 +03:00
|
|
|
"ramda": "^0.27.2",
|
2022-10-05 00:09:30 +03:00
|
|
|
"react": "^18.2.0",
|
2022-12-25 11:53:50 +03:00
|
|
|
"react-chartjs-2": "^5.1.0",
|
2022-10-05 00:09:30 +03:00
|
|
|
"react-colorful": "^5.6.1",
|
2022-07-19 19:28:55 +03:00
|
|
|
"react-copy-to-clipboard": "^5.1.0",
|
2022-07-19 19:34:48 +03:00
|
|
|
"react-datepicker": "^4.8.0",
|
2022-10-05 00:09:30 +03:00
|
|
|
"react-dom": "^18.2.0",
|
2022-05-14 13:51:36 +03:00
|
|
|
"react-external-link": "^2.0.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"react-leaflet": "^4.2.0",
|
|
|
|
"react-redux": "^8.0.5",
|
|
|
|
"react-router-dom": "^6.6.1",
|
2022-07-19 19:38:29 +03:00
|
|
|
"react-swipeable": "^7.0.0",
|
2022-03-07 18:58:16 +03:00
|
|
|
"react-tag-autocomplete": "^6.3.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"reactstrap": "^9.1.5",
|
2022-04-23 12:52:39 +03:00
|
|
|
"redux": "^4.2.0",
|
2022-10-05 00:09:30 +03:00
|
|
|
"redux-localstorage-simple": "^2.5.1",
|
2022-12-26 00:31:28 +03:00
|
|
|
"redux-thunk": "^2.4.2",
|
2021-06-06 13:26:43 +03:00
|
|
|
"uuid": "^8.3.2",
|
2022-10-05 00:09:30 +03:00
|
|
|
"workbox-core": "^6.5.4",
|
|
|
|
"workbox-expiration": "^6.5.4",
|
|
|
|
"workbox-precaching": "^6.5.4",
|
|
|
|
"workbox-routing": "^6.5.4",
|
|
|
|
"workbox-strategies": "^6.5.4"
|
2018-08-04 11:20:19 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-18 13:40:04 +03:00
|
|
|
"@shlinkio/eslint-config-js-coding-standard": "~2.1.0",
|
2022-05-12 23:44:12 +03:00
|
|
|
"@shlinkio/stylelint-config-css-coding-standard": "~1.0.1",
|
2022-10-05 00:17:12 +03:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^13.4.0",
|
|
|
|
"@testing-library/user-event": "^14.4.3",
|
2022-12-26 00:31:28 +03:00
|
|
|
"@types/jest": "^29.2.4",
|
2022-03-31 21:18:05 +03:00
|
|
|
"@types/json2csv": "^5.0.3",
|
2022-12-26 00:31:28 +03:00
|
|
|
"@types/leaflet": "^1.9.0",
|
2022-03-07 19:09:54 +03:00
|
|
|
"@types/qs": "^6.9.7",
|
2022-10-05 00:17:12 +03:00
|
|
|
"@types/ramda": "^0.28.15",
|
2022-12-26 00:31:28 +03:00
|
|
|
"@types/react": "^18.0.26",
|
2022-03-07 19:09:54 +03:00
|
|
|
"@types/react-color": "^3.0.6",
|
2022-10-05 00:17:12 +03:00
|
|
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
2022-12-26 00:31:28 +03:00
|
|
|
"@types/react-datepicker": "^4.8.0",
|
|
|
|
"@types/react-dom": "^18.0.10",
|
2022-10-05 00:17:12 +03:00
|
|
|
"@types/react-tag-autocomplete": "^6.3.0",
|
2022-03-07 19:09:54 +03:00
|
|
|
"@types/uuid": "^8.3.4",
|
2023-02-11 15:16:41 +03:00
|
|
|
"@vitejs/plugin-react": "^3.1.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"adm-zip": "^0.5.10",
|
2022-12-24 12:48:03 +03:00
|
|
|
"babel-jest": "^29.3.1",
|
2022-12-26 00:31:28 +03:00
|
|
|
"chalk": "^5.2.0",
|
|
|
|
"eslint": "^8.30.0",
|
2019-01-06 00:25:54 +03:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"jest": "^29.3.1",
|
2022-04-30 13:01:50 +03:00
|
|
|
"jest-canvas-mock": "^2.4.0",
|
2022-12-26 00:31:28 +03:00
|
|
|
"jest-environment-jsdom": "^29.3.1",
|
2022-04-30 13:01:50 +03:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
2022-12-26 00:31:28 +03:00
|
|
|
"sass": "^1.57.1",
|
|
|
|
"stylelint": "^14.16.0",
|
2020-08-22 12:00:11 +03:00
|
|
|
"ts-mockery": "^1.2.0",
|
2023-03-17 10:49:47 +03:00
|
|
|
"typescript": "^5.0.2",
|
|
|
|
"vite": "^4.2.0",
|
|
|
|
"vite-plugin-pwa": "^0.14.4"
|
2018-05-13 09:57:47 +03:00
|
|
|
},
|
2019-01-06 00:54:54 +03:00
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all"
|
|
|
|
]
|
2018-05-13 09:57:47 +03:00
|
|
|
}
|