2018-05-13 09:57:47 +03:00
|
|
|
{
|
|
|
|
"name": "shlink-web-client-react",
|
2018-06-14 20:42:42 +03:00
|
|
|
"description": "A React-based web client for shlink",
|
2018-05-13 09:57:47 +03:00
|
|
|
"version": "0.1.0",
|
2018-06-14 20:42:42 +03:00
|
|
|
"private": false,
|
2018-08-04 11:20:19 +03:00
|
|
|
"scripts": {
|
2018-08-24 13:02:28 +03:00
|
|
|
"lint": "yarn lint:js && yarn lint:css",
|
2018-08-26 00:39:27 +03:00
|
|
|
"lint:js": "eslint src test",
|
|
|
|
"lint:js:fix": "yarn lint:js --fix",
|
2018-08-25 16:59:51 +03:00
|
|
|
"lint:css": "stylelint src/**/*.scss",
|
|
|
|
"lint:css:fix": "yarn lint:css --fix",
|
2018-08-04 11:20:19 +03:00
|
|
|
"start": "node scripts/start.js",
|
|
|
|
"build": "node scripts/build.js",
|
2018-08-23 10:34:26 +03:00
|
|
|
"test": "node scripts/test.js --env=jsdom --colors",
|
|
|
|
"test:ci": "yarn test --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=clover",
|
|
|
|
"test:pretty": "yarn test --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=html"
|
2018-08-04 11:20:19 +03:00
|
|
|
},
|
2018-05-13 09:57:47 +03:00
|
|
|
"dependencies": {
|
2018-05-13 12:58:35 +03:00
|
|
|
"@fortawesome/fontawesome": "^1.1.8",
|
2018-07-22 09:36:46 +03:00
|
|
|
"@fortawesome/fontawesome-free-regular": "^5.0.13",
|
2018-05-13 12:58:35 +03:00
|
|
|
"@fortawesome/fontawesome-free-solid": "^5.0.13",
|
|
|
|
"@fortawesome/react-fontawesome": "0.0.19",
|
2018-06-15 22:49:25 +03:00
|
|
|
"axios": "^0.18.0",
|
2018-08-04 11:20:19 +03:00
|
|
|
"bootstrap": "^4.1.1",
|
|
|
|
"chart.js": "^2.7.2",
|
2018-08-15 09:51:20 +03:00
|
|
|
"classnames": "^2.2.6",
|
2018-08-20 18:08:15 +03:00
|
|
|
"csvjson": "^5.1.0",
|
2018-08-04 11:20:19 +03:00
|
|
|
"moment": "^2.22.2",
|
|
|
|
"promise": "8.0.1",
|
2018-08-12 09:45:48 +03:00
|
|
|
"prop-types": "^15.6.2",
|
2018-08-04 11:20:19 +03:00
|
|
|
"qs": "^6.5.2",
|
|
|
|
"ramda": "^0.25.0",
|
|
|
|
"react": "^16.3.2",
|
|
|
|
"react-chartjs-2": "^2.7.4",
|
2018-08-18 23:59:53 +03:00
|
|
|
"react-color": "^2.14.1",
|
2018-08-04 11:20:19 +03:00
|
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
|
|
"react-datepicker": "^1.5.0",
|
|
|
|
"react-dom": "^16.3.2",
|
|
|
|
"react-moment": "^0.7.6",
|
|
|
|
"react-redux": "^5.0.7",
|
|
|
|
"react-router-dom": "^4.2.2",
|
2018-08-14 21:28:46 +03:00
|
|
|
"react-swipeable": "^4.3.0",
|
2018-08-11 22:39:27 +03:00
|
|
|
"react-tagsinput": "^3.19.0",
|
2018-08-04 11:20:19 +03:00
|
|
|
"reactstrap": "^6.0.1",
|
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-thunk": "^2.3.0",
|
|
|
|
"uuid": "^3.3.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-08-05 13:05:26 +03:00
|
|
|
"adm-zip": "^0.4.11",
|
2018-08-04 11:20:19 +03:00
|
|
|
"autoprefixer": "7.1.6",
|
2018-05-13 09:57:47 +03:00
|
|
|
"babel-core": "6.26.0",
|
|
|
|
"babel-eslint": "7.2.3",
|
|
|
|
"babel-jest": "20.0.3",
|
2018-08-26 00:39:27 +03:00
|
|
|
"babel-loader": "^7.1.2",
|
2018-05-13 09:57:47 +03:00
|
|
|
"babel-preset-react-app": "^3.1.1",
|
|
|
|
"babel-runtime": "6.26.0",
|
|
|
|
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
|
|
|
"chalk": "1.1.3",
|
|
|
|
"css-loader": "0.28.7",
|
|
|
|
"dotenv": "4.0.0",
|
|
|
|
"dotenv-expand": "4.2.0",
|
2018-06-14 20:42:42 +03:00
|
|
|
"enzyme": "^3.3.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2018-08-26 00:39:27 +03:00
|
|
|
"eslint": "^5.4.0",
|
|
|
|
"eslint-config-adidas-babel": "^1.0.1",
|
|
|
|
"eslint-config-adidas-env": "^1.0.1",
|
|
|
|
"eslint-config-adidas-es6": "^1.0.1",
|
|
|
|
"eslint-config-adidas-react": "^1.0.1",
|
2018-05-13 09:57:47 +03:00
|
|
|
"eslint-loader": "1.9.0",
|
2018-08-26 00:39:27 +03:00
|
|
|
"eslint-plugin-import": "^2.8.0",
|
|
|
|
"eslint-plugin-jest": "^21.22.0",
|
|
|
|
"eslint-plugin-promise": "^3.0.0",
|
|
|
|
"eslint-plugin-react": "^7.4.0",
|
2018-08-05 13:05:26 +03:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2018-05-13 09:57:47 +03:00
|
|
|
"file-loader": "1.1.5",
|
|
|
|
"fs-extra": "3.0.1",
|
|
|
|
"html-webpack-plugin": "2.29.0",
|
|
|
|
"jest": "20.0.4",
|
2018-08-04 11:20:19 +03:00
|
|
|
"node-sass": "^4.9.0",
|
2018-05-13 09:57:47 +03:00
|
|
|
"object-assign": "4.1.1",
|
2018-08-22 11:44:24 +03:00
|
|
|
"ocular.js": "^0.1.0",
|
2018-05-13 09:57:47 +03:00
|
|
|
"postcss-flexbugs-fixes": "3.2.0",
|
|
|
|
"postcss-loader": "2.0.8",
|
|
|
|
"raf": "3.4.0",
|
|
|
|
"react-dev-utils": "^5.0.1",
|
|
|
|
"resolve": "1.6.0",
|
2018-08-05 13:05:26 +03:00
|
|
|
"sass-loader": "^7.0.1",
|
2018-08-23 10:49:13 +03:00
|
|
|
"serve": "^10.0.0",
|
2018-08-12 09:20:35 +03:00
|
|
|
"sinon": "^6.1.5",
|
2018-05-13 09:57:47 +03:00
|
|
|
"style-loader": "0.19.0",
|
2018-08-25 11:22:25 +03:00
|
|
|
"stylelint": "^9.5.0",
|
|
|
|
"stylelint-config-adidas": "^1.0.1",
|
|
|
|
"stylelint-config-adidas-bem": "^1.0.1",
|
|
|
|
"stylelint-config-recommended-scss": "^3.2.0",
|
|
|
|
"stylelint-scss": "^3.3.0",
|
2018-05-13 09:57:47 +03:00
|
|
|
"sw-precache-webpack-plugin": "0.11.4",
|
|
|
|
"url-loader": "0.6.2",
|
|
|
|
"webpack": "3.8.1",
|
|
|
|
"webpack-dev-server": "2.9.4",
|
|
|
|
"webpack-manifest-plugin": "1.3.2",
|
|
|
|
"whatwg-fetch": "2.0.3"
|
|
|
|
},
|
|
|
|
"jest": {
|
2018-08-22 11:44:24 +03:00
|
|
|
"coverageDirectory": "<rootDir>/coverage",
|
2018-05-13 09:57:47 +03:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{js,jsx,mjs}"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
2018-06-14 20:42:42 +03:00
|
|
|
"<rootDir>/config/polyfills.js",
|
|
|
|
"<rootDir>/config/setupEnzyme.js"
|
2018-05-13 09:57:47 +03:00
|
|
|
],
|
|
|
|
"testMatch": [
|
2018-06-15 22:49:25 +03:00
|
|
|
"<rootDir>/test/**/*.test.{js,jsx,mjs}"
|
2018-05-13 09:57:47 +03:00
|
|
|
],
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testURL": "http://localhost",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^react-native$": "react-native-web"
|
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"web.js",
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"web.jsx",
|
|
|
|
"jsx",
|
|
|
|
"node",
|
|
|
|
"mjs"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
"react-app"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2018-08-26 00:39:27 +03:00
|
|
|
"extends": [
|
|
|
|
"adidas-env/browser",
|
|
|
|
"adidas-env/module",
|
|
|
|
"adidas-es6",
|
|
|
|
"adidas-babel",
|
|
|
|
"adidas-react"
|
|
|
|
],
|
|
|
|
"plugins": ["jest"],
|
|
|
|
"env": {
|
|
|
|
"jest/globals": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"process": true,
|
|
|
|
"setImmediate": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"no-invalid-this": "off",
|
|
|
|
"template-curly-spacing": ["error", "never"],
|
|
|
|
"no-warning-comments": "off",
|
|
|
|
"no-undefined": "off",
|
|
|
|
"indent": ["error", 2, {
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"react/jsx-curly-spacing": ["error", "never"],
|
|
|
|
"react/jsx-indent-props": ["error", 2],
|
|
|
|
"react/jsx-first-prop-new-line": ["error", "multiline-multiprop"],
|
|
|
|
"react/jsx-closing-bracket-location": ["error", "tag-aligned"],
|
|
|
|
"react/no-array-index-key": "off",
|
|
|
|
"react/no-did-update-set-state": "off"
|
2018-08-26 00:41:05 +03:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "16.3"
|
|
|
|
}
|
2018-08-26 00:39:27 +03:00
|
|
|
}
|
2018-05-13 09:57:47 +03:00
|
|
|
}
|
|
|
|
}
|