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",
|
2018-08-04 11:20:19 +03:00
|
|
|
"start": "node scripts/start.js",
|
2019-04-14 22:58:10 +03:00
|
|
|
"serve:build": "serve ./build",
|
2018-08-04 11:20:19 +03:00
|
|
|
"build": "node scripts/build.js",
|
2021-02-28 12:36:56 +03:00
|
|
|
"test": "node scripts/test.js --env=jsdom --colors --verbose",
|
2021-09-19 11:31:53 +03:00
|
|
|
"test:coverage": "npm run test -- --coverage --coverageReporters=text --coverageReporters=text-summary",
|
|
|
|
"test:ci": "npm run test:coverage -- --coverageReporters=clover",
|
|
|
|
"test:pretty": "npm run test:coverage -- --coverageReporters=html",
|
2020-12-15 12:01:15 +03:00
|
|
|
"mutate": "./node_modules/.bin/stryker run --concurrency 4"
|
2018-08-04 11:20:19 +03:00
|
|
|
},
|
2018-05-13 09:57:47 +03:00
|
|
|
"dependencies": {
|
2021-02-28 13:13:07 +03:00
|
|
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
|
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.34",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "^5.15.2",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.2",
|
|
|
|
"@fortawesome/react-fontawesome": "^0.1.14",
|
2021-12-08 02:57:30 +03:00
|
|
|
"axios": "^0.21.2",
|
2021-02-14 11:29:20 +03:00
|
|
|
"bootstrap": "^4.6.0",
|
2020-09-06 11:17:46 +03:00
|
|
|
"bottlejs": "^2.0.0",
|
2020-11-14 13:00:41 +03:00
|
|
|
"bowser": "^2.11.0",
|
2021-08-29 22:54:21 +03:00
|
|
|
"chart.js": "^3.5.1",
|
2018-08-15 09:51:20 +03:00
|
|
|
"classnames": "^2.2.6",
|
2020-09-06 11:17:46 +03:00
|
|
|
"compare-versions": "^3.6.0",
|
2018-08-20 18:08:15 +03:00
|
|
|
"csvjson": "^5.1.0",
|
2021-06-24 21:13:06 +03:00
|
|
|
"date-fns": "^2.22.1",
|
2021-02-28 13:13:07 +03:00
|
|
|
"event-source-polyfill": "^1.0.22",
|
2020-09-06 11:17:46 +03:00
|
|
|
"leaflet": "^1.7.1",
|
2020-11-14 13:00:41 +03:00
|
|
|
"promise": "^8.1.0",
|
2021-02-28 13:13:07 +03:00
|
|
|
"qs": "^6.9.6",
|
2020-09-06 11:17:46 +03:00
|
|
|
"ramda": "^0.27.1",
|
2020-11-14 00:44:26 +03:00
|
|
|
"react": "^17.0.1",
|
2021-08-29 22:54:21 +03:00
|
|
|
"react-chartjs-2": "^3.0.4",
|
2020-11-14 11:16:26 +03:00
|
|
|
"react-color": "^2.19.3",
|
2020-09-06 11:17:46 +03:00
|
|
|
"react-copy-to-clipboard": "^5.0.2",
|
2021-02-28 13:13:07 +03:00
|
|
|
"react-datepicker": "^3.6.0",
|
2020-11-14 00:44:26 +03:00
|
|
|
"react-dom": "^17.0.1",
|
2020-12-20 14:17:12 +03:00
|
|
|
"react-external-link": "^1.2.0",
|
2021-02-28 13:13:07 +03:00
|
|
|
"react-leaflet": "^3.1.0",
|
2020-11-14 13:00:41 +03:00
|
|
|
"react-redux": "^7.2.2",
|
2020-09-06 11:17:46 +03:00
|
|
|
"react-router-dom": "^5.2.0",
|
2021-02-28 13:13:07 +03:00
|
|
|
"react-swipeable": "^6.0.1",
|
2021-06-26 11:17:07 +03:00
|
|
|
"react-tag-autocomplete": "^6.1.0",
|
2021-02-28 13:13:07 +03:00
|
|
|
"reactstrap": "^8.9.0",
|
2020-11-14 13:00:41 +03:00
|
|
|
"redux": "^4.0.5",
|
2021-02-28 13:13:07 +03:00
|
|
|
"redux-localstorage-simple": "^2.4.0",
|
2018-08-04 11:20:19 +03:00
|
|
|
"redux-thunk": "^2.3.0",
|
2021-06-06 13:26:43 +03:00
|
|
|
"uuid": "^8.3.2",
|
|
|
|
"workbox-core": "^6.1.5",
|
|
|
|
"workbox-expiration": "^6.1.5",
|
|
|
|
"workbox-precaching": "^6.1.5",
|
|
|
|
"workbox-routing": "^6.1.5",
|
|
|
|
"workbox-strategies": "^6.1.5"
|
2018-08-04 11:20:19 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-02-28 14:56:56 +03:00
|
|
|
"@babel/core": "^7.13.8",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
|
2021-03-05 13:14:58 +03:00
|
|
|
"@shlinkio/eslint-config-js-coding-standard": "~1.2.2",
|
2021-10-31 14:07:38 +03:00
|
|
|
"@stryker-mutator/core": "^5.4.1",
|
|
|
|
"@stryker-mutator/jest-runner": "^5.4.1",
|
|
|
|
"@stryker-mutator/typescript-checker": "^5.4.1",
|
2021-02-28 14:56:56 +03:00
|
|
|
"@svgr/webpack": "^5.5.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"@types/classnames": "^2.2.11",
|
2021-10-31 12:34:10 +03:00
|
|
|
"@types/enzyme": "^3.10.10",
|
2021-10-31 14:07:38 +03:00
|
|
|
"@types/jest": "^27.0.2",
|
2021-02-28 14:56:56 +03:00
|
|
|
"@types/leaflet": "^1.5.23",
|
2020-11-14 10:59:20 +03:00
|
|
|
"@types/qs": "^6.9.5",
|
2021-02-28 14:56:56 +03:00
|
|
|
"@types/ramda": "^0.27.38",
|
|
|
|
"@types/react": "^17.0.2",
|
2020-11-14 10:59:20 +03:00
|
|
|
"@types/react-color": "^3.0.4",
|
2021-02-28 14:56:56 +03:00
|
|
|
"@types/react-copy-to-clipboard": "^5.0.0",
|
|
|
|
"@types/react-datepicker": "^3.1.5",
|
|
|
|
"@types/react-dom": "^17.0.1",
|
2020-09-02 21:13:31 +03:00
|
|
|
"@types/react-leaflet": "^2.5.2",
|
2021-02-28 14:56:56 +03:00
|
|
|
"@types/react-redux": "^7.1.16",
|
|
|
|
"@types/react-router-dom": "^5.1.7",
|
2021-06-26 11:17:07 +03:00
|
|
|
"@types/react-tag-autocomplete": "^6.1.0",
|
2020-08-22 14:41:54 +03:00
|
|
|
"@types/uuid": "^8.3.0",
|
2021-10-31 12:34:10 +03:00
|
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
|
2020-11-14 10:59:20 +03:00
|
|
|
"adm-zip": "^0.4.16",
|
|
|
|
"autoprefixer": "^10.0.2",
|
2019-01-06 00:25:54 +03:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2021-10-31 14:07:38 +03:00
|
|
|
"babel-jest": "^27.3.1",
|
2020-11-14 00:44:26 +03:00
|
|
|
"babel-loader": "^8.2.1",
|
2020-11-14 10:59:20 +03:00
|
|
|
"babel-plugin-named-asset-import": "^0.3.7",
|
2020-11-14 00:44:26 +03:00
|
|
|
"babel-preset-react-app": "^10.0.0",
|
2018-12-31 20:23:47 +03:00
|
|
|
"babel-runtime": "^6.26.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"bfj": "^7.0.2",
|
|
|
|
"case-sensitive-paths-webpack-plugin": "^2.3.0",
|
2021-10-31 14:07:38 +03:00
|
|
|
"chalk": "^4.1.2",
|
2020-11-14 10:59:20 +03:00
|
|
|
"css-loader": "^5.0.1",
|
2020-10-31 14:27:24 +03:00
|
|
|
"dart-sass": "^1.25.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"dotenv": "^8.2.0",
|
2019-10-05 20:08:50 +03:00
|
|
|
"dotenv-expand": "^5.1.0",
|
2020-03-08 13:35:06 +03:00
|
|
|
"enzyme": "^3.11.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"eslint": "^7.13.0",
|
|
|
|
"eslint-loader": "^4.0.2",
|
|
|
|
"file-loader": "^6.2.0",
|
2019-01-06 00:25:54 +03:00
|
|
|
"fork-ts-checker-webpack-plugin-alt": "^0.4.14",
|
2020-11-14 10:59:20 +03:00
|
|
|
"fs-extra": "^9.0.1",
|
|
|
|
"html-webpack-plugin": "^4.5.0",
|
2019-01-06 00:25:54 +03:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2021-10-31 14:07:38 +03:00
|
|
|
"jest": "^27.3.1",
|
2020-09-06 11:17:46 +03:00
|
|
|
"jest-pnp-resolver": "^1.2.2",
|
2021-10-31 14:07:38 +03:00
|
|
|
"jest-resolve": "^27.3.1",
|
2020-11-14 10:59:20 +03:00
|
|
|
"mini-css-extract-plugin": "^1.3.1",
|
2019-01-06 00:25:54 +03:00
|
|
|
"object-assign": "^4.1.1",
|
2020-11-14 10:59:20 +03:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
|
|
|
"pnp-webpack-plugin": "^1.6.4",
|
|
|
|
"postcss": "^8.1.7",
|
|
|
|
"postcss-flexbugs-fixes": "^4.2.1",
|
2018-12-31 20:23:47 +03:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-10-05 20:08:50 +03:00
|
|
|
"postcss-preset-env": "^6.7.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"postcss-safe-parser": "^5.0.2",
|
2019-10-05 20:08:50 +03:00
|
|
|
"raf": "^3.4.1",
|
2020-11-14 10:59:20 +03:00
|
|
|
"react-app-polyfill": "^2.0.0",
|
2020-11-14 12:24:15 +03:00
|
|
|
"react-dev-utils": "^11.0.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"resolve": "^1.19.0",
|
|
|
|
"sass": "^1.29.0",
|
|
|
|
"sass-loader": "^10.1.0",
|
2021-07-12 13:24:04 +03:00
|
|
|
"serve": "^12.0.0",
|
2019-04-22 00:03:37 +03:00
|
|
|
"stryker-cli": "^1.0.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"style-loader": "^2.0.0",
|
|
|
|
"stylelint": "^13.7.2",
|
2020-09-06 11:17:46 +03:00
|
|
|
"stylelint-config-adidas": "^1.3.0",
|
2018-12-31 20:23:47 +03:00
|
|
|
"stylelint-config-adidas-bem": "^1.2.0",
|
2020-09-06 11:17:46 +03:00
|
|
|
"stylelint-config-recommended-scss": "^4.2.0",
|
|
|
|
"stylelint-scss": "^3.18.0",
|
2020-11-14 10:59:20 +03:00
|
|
|
"sw-precache-webpack-plugin": "^1.0.0",
|
2020-11-14 12:33:32 +03:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
2021-10-31 14:07:38 +03:00
|
|
|
"ts-jest": "^27.0.7",
|
2020-08-22 12:00:11 +03:00
|
|
|
"ts-mockery": "^1.2.0",
|
2021-10-31 14:07:38 +03:00
|
|
|
"typescript": "^4.4.4",
|
2020-11-14 10:59:20 +03:00
|
|
|
"url-loader": "^4.1.1",
|
|
|
|
"webpack": "^4.44.2",
|
|
|
|
"webpack-dev-server": "^3.11.0",
|
2019-10-05 20:08:50 +03:00
|
|
|
"webpack-manifest-plugin": "^2.2.0",
|
2021-06-06 13:54:32 +03:00
|
|
|
"whatwg-fetch": "^3.5.0",
|
|
|
|
"workbox-webpack-plugin": "^6.1.5"
|
2018-05-13 09:57:47 +03:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2020-11-14 00:44:26 +03:00
|
|
|
[
|
|
|
|
"react-app",
|
|
|
|
{
|
|
|
|
"runtime": "automatic"
|
|
|
|
}
|
|
|
|
]
|
2020-08-22 12:00:11 +03:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-proposal-optional-chaining",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator"
|
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
|
|
|
}
|