@selfdecode/sd-component-library 2.46.15 → 2.46.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +62 -62
  2. package/lib/{9d0270d4cb89077e10c0d2f0381d1b62.svg → 06e61e4f079c68e2213c93ed7d3a077b.svg} +17 -17
  3. package/lib/{938ee9777bd641ebfd2a0b09bcfb8feb.svg → 073d13615b4662c879236ed506e04450.svg} +3 -3
  4. package/lib/{13fcc6e79b1fcfbc03efaf2dc342aaab.svg → 193805683b5b1e117aab667b99dc2e4d.svg} +15 -15
  5. package/lib/{b81c429e70a96fd9eaaf37dd7aa5fdf6.svg → 1ced0d7e147b74e5991c8dde6814272b.svg} +28 -28
  6. package/lib/{22fae4df132c15df784ca53abe6a4db5.svg → 237b8e28b333235506cb563afee0e57d.svg} +19 -19
  7. package/lib/{8a38dcf842d6973411ebc4a1ded63186.svg → 23ad6b7c4b59a08bbc56fe16bc191d5e.svg} +3 -3
  8. package/lib/{869a92e0443da1b07c8bbd661ad9e328.svg → 265c68acaf1b42c2a94cf88fc909c409.svg} +3 -3
  9. package/lib/{d86c65342d63673a8f9247c6541a83c9.svg → 269d4dbd2027234c18668478378a32a4.svg} +3 -3
  10. package/lib/{c3ebec1ad37b50328afef27a259ceaff.svg → 2e4e3ca3f1838aaaef642efdde098f0d.svg} +10 -10
  11. package/lib/{7f2caa0f320965d2d662f2d59b0edf91.svg → 319927e1f8d12951dad50f7267714042.svg} +19 -19
  12. package/lib/{ac7a6c4b5c54ca9a0c254448cc6b771a.svg → 32b83c852da04a70208698256abb887e.svg} +9 -9
  13. package/lib/{5d9086921ee051266d17e504cf9b9a6a.svg → 3591ad79d37ee840519fe2622151a5c1.svg} +28 -28
  14. package/lib/{ee507229b18da8712023b07bc236931a.svg → 38ebeff7b808ec0d7fffac0476173de1.svg} +51 -51
  15. package/lib/{7b923b74fce7aad4c421a036d941a8d6.svg → 3a3fd76904567df20e9185313d73e9ec.svg} +3 -3
  16. package/lib/{bc2dcc2a8a02c0ee439591c782a70623.svg → 3d58c265cc4c126149b2b1cb4ce4db50.svg} +42 -42
  17. package/lib/{60c8833771de97bee4dee47595389ce3.svg → 515f5112bb070b0ba66dfc5faffdf033.svg} +3 -3
  18. package/lib/{fc0208291123a92c4c5d862078e28b9c.svg → 521a307c12712ac8fcbb0b8dc7d5bb25.svg} +3 -3
  19. package/lib/{f29c85e81d47eea13301804c8e3c170f.svg → 5c06b23204b29d35bbe0186acd5ffdca.svg} +5 -5
  20. package/lib/{86f3045a9c6c4dde337fa9cc142badc8.svg → 734d1102a45e4ee71b5ed01412d922e2.svg} +19 -19
  21. package/lib/{c603168b85fc88fac8f686736bd69b78.svg → 766c5968f33b7be8d543534f6c5c49da.svg} +3 -3
  22. package/lib/{3fcbbffb647126293d30b5969d120164.svg → 7dba0598bcfeed22508ab800f9d4ee45.svg} +28 -28
  23. package/lib/{8260556810249044ae097b079112b769.svg → 924e6da1832d510cec93975318026807.svg} +3 -3
  24. package/lib/{6d7e11b975859101bb375b5993f55bc0.svg → 92685943ac8ee4c2502c0a7e6ef96d49.svg} +23 -23
  25. package/lib/a0b0581f59e16713dd105553735e6895.svg +5 -0
  26. package/lib/{0d09c7a8e375c2540055023c029ec4d9.svg → aa586f07529b9e76efaa182c073d18e9.svg} +7 -7
  27. package/lib/{d10fc7c9e7809de115ccfa1c6b7c13ca.svg → b0e0c08f4532b70487c58b48387c4021.svg} +5 -5
  28. package/lib/{a6b11432d396729c80771580a22f470c.svg → b4cb181d7816a2cad6ce42d77e617a42.svg} +18 -18
  29. package/lib/{663301efd63aaf2ed992d2ca99a53eed.svg → ba041f2a9061e709b58864db0bfec1e8.svg} +2 -2
  30. package/lib/{f5c5693f030a0b2b955e33da1ff0b7bc.svg → ba387e15bbf34ec157854ba329efdb20.svg} +28 -28
  31. package/lib/{c56775ebe719353c75510604020c60cd.svg → c091ead97b78fb0df16b76d2c5b54389.svg} +6 -6
  32. package/lib/{0d2a9a5d665d5ad64cfdb6c83757ec80.svg → c0ea355f0f4474e2f98bcbb9c15f9632.svg} +3 -3
  33. package/lib/{fe943aaf6908f84b529b89adaba5d23e.svg → c2a83965e8fcad188e1c95a02d363576.svg} +7 -7
  34. package/lib/{6be30cd068d8bc48523511ecd0d34e9d.svg → c4197d488c7de47373c175794e572961.svg} +5 -5
  35. package/lib/{2122f513bbdc5100193d77c363ceb8aa.svg → c801ade937bddadb73cb5b241c151ab6.svg} +13 -13
  36. package/lib/{67bfebe03e1102ecda320ff727155a9d.svg → c85d3e026820bcada3b617eee06d4938.svg} +58 -58
  37. package/lib/components/boolean-feedback/thumbs-feedback/assets/thumbs-down.svg +5 -5
  38. package/lib/components/boolean-feedback/thumbs-feedback/assets/thumbs-up.svg +5 -5
  39. package/lib/components/buttons/logos/powered-by-grey-logo/assets/powered-by-grey.svg +58 -58
  40. package/lib/components/buttons/logos/powered-by-white-logo/assets/powered-by-white.svg +51 -51
  41. package/lib/components/buttons/partials/icon-button/assets/icon-sample.svg +3 -3
  42. package/lib/components/complex/footer/partials/footer-social/assets/facebook.svg +3 -3
  43. package/lib/components/complex/footer/partials/footer-social/assets/instagram.svg +3 -3
  44. package/lib/components/complex/footer/partials/footer-social/assets/linkedin.svg +3 -3
  45. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/assets/profile-icon.svg +3 -3
  46. package/lib/components/complex/navbar/presentational/interfaces.d.ts +1 -1
  47. package/lib/components/complex/updated-navbar/constants.d.ts +2 -1
  48. package/lib/components/feature-explanation/assets/dropdown-arrow.svg +2 -2
  49. package/lib/components/icons/calendar-icon/calendar.svg +17 -17
  50. package/lib/components/icons/cart-icon/cart-icon.svg +10 -10
  51. package/lib/components/icons/cross-icon/cross-icon.svg +5 -5
  52. package/lib/components/icons/environment-icon/environment.svg +15 -15
  53. package/lib/components/icons/genetics-icon/genetics-icon.svg +5 -5
  54. package/lib/components/icons/globe-icon/globe.svg +3 -3
  55. package/lib/components/icons/hamburger-icon/hamburger-icon.svg +7 -7
  56. package/lib/components/icons/plain-warning-circle-icon/plain-warning-circle.svg +19 -19
  57. package/lib/components/icons/profile-icon/profile-icon.svg +3 -3
  58. package/lib/components/icons/rescan-icon/rescan-icon.svg +3 -3
  59. package/lib/components/icons/sd-logo-no-text-icon/sd-logo-no-text-icon.svg +3 -3
  60. package/lib/components/icons/sd-navbar-icon/sd-navbar-icon.svg +7 -7
  61. package/lib/components/icons/search-icon/search-icon.svg +3 -3
  62. package/lib/components/icons/short-dropdown-arrow-icon/short-down-arrow-icon.svg +2 -2
  63. package/lib/components/icons/star-icon/star.svg +6 -6
  64. package/lib/components/icons/vial-icon/vial-icon.svg +9 -9
  65. package/lib/components/icons/warning-circle-icon/warning-circle.svg +17 -17
  66. package/lib/components/inputs/input/interfaces.d.ts +2 -1
  67. package/lib/components/inputs/multi-row-secondary-text-input/interfaces.d.ts +1 -0
  68. package/lib/components/inputs/primary-text-input/interfaces.d.ts +1 -1
  69. package/lib/components/inputs/search-input/presentational/assets/search.svg +3 -3
  70. package/lib/components/inputs/search-input/presentational/assets/x.svg +3 -3
  71. package/lib/components/inputs/text-input/interfaces.d.ts +1 -1
  72. package/lib/components/meters/people-meter/assets/person.svg +10 -10
  73. package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-1.svg +28 -28
  74. package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-2.svg +28 -28
  75. package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-3.svg +23 -23
  76. package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-4.svg +28 -28
  77. package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-5.svg +28 -28
  78. package/lib/components/meters/smiley-meter-v2/assets/happy-smiley.svg +19 -19
  79. package/lib/components/meters/smiley-meter-v2/assets/neutral-smiley.svg +13 -13
  80. package/lib/components/meters/smiley-meter-v2/assets/sad-smiley.svg +19 -19
  81. package/lib/components/modals/modal/assets/x-symbol.svg +42 -42
  82. package/lib/components/page-selectors/page-selector/assets/next.svg +3 -3
  83. package/lib/components/page-selectors/page-selector/assets/previous.svg +3 -3
  84. package/lib/components/ratings/five-stars-rating/assets/star.svg +3 -3
  85. package/lib/components/tabs/tabbed-view/assets/instagram.svg +3 -3
  86. package/lib/components/tooltips/base-info-tooltip/assets/info-icon.svg +18 -18
  87. package/lib/core/routes.d.ts +4 -0
  88. package/lib/{3d199f2826c102483ea0c56219b8490e.svg → d3617c39a9295969042fbf2fede70d36.svg} +10 -10
  89. package/lib/{a4cdd52805d0c0a88a7dc771dc191264.svg → e2b92c9c6b1767d04dabcecab595cf19.svg} +17 -17
  90. package/lib/{d862bd00d6b4ff78b8a0cb39fb345cab.svg → f24603ca1a8915e57ba77a1660b0354d.svg} +3 -3
  91. package/lib/{61dea17e3871bf928da44c4d9a236a0b.svg → fb3dd5a9f9e329943886c4843692a73c.svg} +3 -3
  92. package/lib/index.js +1 -1
  93. package/package.json +218 -218
package/package.json CHANGED
@@ -1,218 +1,218 @@
1
- {
2
- "name": "@selfdecode/sd-component-library",
3
- "version": "2.46.15",
4
- "private": false,
5
- "license": "MIT",
6
- "main": "./lib/index.js",
7
- "files": [
8
- "lib"
9
- ],
10
- "directories": {
11
- "lib": "lib"
12
- },
13
- "dependencies": {
14
- "@rebass/forms": "^4.0.6",
15
- "@svgr/webpack": "4.3.3",
16
- "@types/body-scroll-lock": "^3.1.0",
17
- "@types/lodash": "^4.14.168",
18
- "@types/react-router-dom": "^5.1.5",
19
- "body-scroll-lock": "^4.0.0-beta.0",
20
- "camelcase": "^5.3.1",
21
- "css-loader": "3.4.2",
22
- "date-fns": "^2.19.0",
23
- "emotion-theming": "^10.0.27",
24
- "file-loader": "4.3.0",
25
- "fs-extra": "^8.1.0",
26
- "history": "^4.10.1",
27
- "html-webpack-plugin": "4.0.0-beta.11",
28
- "identity-obj-proxy": "3.0.0",
29
- "lodash": "^4.17.21",
30
- "node-sass": "^4.14.1",
31
- "postcss-flexbugs-fixes": "4.1.0",
32
- "postcss-loader": "3.0.0",
33
- "postcss-normalize": "8.0.1",
34
- "postcss-preset-env": "6.7.0",
35
- "postcss-safe-parser": "4.0.1",
36
- "react": "^16.13.1",
37
- "react-app-polyfill": "^1.0.6",
38
- "react-contenteditable": "^3.3.6",
39
- "react-date-range": "^1.1.3",
40
- "react-dom": "^16.13.1",
41
- "react-router-dom": "^5.2.0",
42
- "react-share": "^4.2.1",
43
- "react-transition-group": "^4.4.1",
44
- "rebass": "^4.0.7",
45
- "resolve": "1.15.0",
46
- "resolve-url-loader": "^3.1.2",
47
- "sass-loader": "8.0.2",
48
- "semver": "6.3.0",
49
- "style-loader": "0.23.1",
50
- "url-loader": "2.3.0"
51
- },
52
- "husky": {
53
- "hooks": {
54
- "pre-commit": "lint-staged"
55
- }
56
- },
57
- "lint-staged": {
58
- "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
59
- "prettier --write"
60
- ]
61
- },
62
- "scripts": {
63
- "start": "node scripts/start.js",
64
- "ci-test": "jest --collectCoverage",
65
- "ci-prettier-check": "prettier-check 'src/**/@(*.js|*.ts|*.tsx|*.json|*.css|*.scss|*.md)!(*.chunk.js)'",
66
- "test": "node scripts/test.js",
67
- "styleguide": "styleguidist server --port=7070",
68
- "styleguide:build": "styleguidist build",
69
- "clean": "npx shx rm -rf ./lib",
70
- "copy": "copyfiles -u 1 ./src/**/*.svg ./lib",
71
- "prebuild": "npm run clean",
72
- "postbuild": "npm run copy",
73
- "build": "tsc --build && webpack",
74
- "prepublishOnly": "npm run ci-test && npm run build"
75
- },
76
- "eslintConfig": {
77
- "extends": "react-app"
78
- },
79
- "browserslist": {
80
- "production": [
81
- ">0.2%",
82
- "not dead",
83
- "not op_mini all"
84
- ],
85
- "development": [
86
- "last 1 chrome version",
87
- "last 1 firefox version",
88
- "last 1 safari version"
89
- ]
90
- },
91
- "devDependencies": {
92
- "@babel/core": "7.9.0",
93
- "@testing-library/jest-dom": "^4.2.4",
94
- "@testing-library/react": "^9.5.0",
95
- "@testing-library/user-event": "^7.2.1",
96
- "@trivago/prettier-plugin-sort-imports": "^3.1.1",
97
- "@types/enzyme": "^3.10.5",
98
- "@types/enzyme-adapter-react-16": "^1.0.6",
99
- "@types/jest": "^24.9.1",
100
- "@types/node": "^12.12.50",
101
- "@types/react": "^16.9.43",
102
- "@types/react-date-range": "^1.1.3",
103
- "@types/react-dom": "^16.9.8",
104
- "@types/react-transition-group": "^4.4.1",
105
- "@types/rebass": "^4.0.6",
106
- "@types/rebass__forms": "^4.0.2",
107
- "@typescript-eslint/eslint-plugin": "^2.10.0",
108
- "@typescript-eslint/parser": "^2.10.0",
109
- "babel-eslint": "10.1.0",
110
- "babel-jest": "^24.9.0",
111
- "babel-loader": "8.1.0",
112
- "babel-plugin-named-asset-import": "^0.3.6",
113
- "babel-preset-react-app": "^9.1.2",
114
- "case-sensitive-paths-webpack-plugin": "2.3.0",
115
- "copyfiles": "^2.3.0",
116
- "dotenv": "8.2.0",
117
- "dotenv-expand": "5.1.0",
118
- "enzyme": "^3.11.0",
119
- "enzyme-adapter-react-16": "^1.15.2",
120
- "eslint": "^6.6.0",
121
- "eslint-config-react-app": "^5.2.1",
122
- "eslint-loader": "3.0.3",
123
- "eslint-plugin-flowtype": "4.6.0",
124
- "eslint-plugin-import": "2.20.1",
125
- "eslint-plugin-jsx-a11y": "6.2.3",
126
- "eslint-plugin-react": "7.19.0",
127
- "eslint-plugin-react-hooks": "^1.6.1",
128
- "husky": "^4.2.5",
129
- "jest": "24.9.0",
130
- "jest-environment-jsdom-fourteen": "1.0.1",
131
- "jest-resolve": "24.9.0",
132
- "jest-watch-typeahead": "0.4.2",
133
- "lint-staged": "^10.2.11",
134
- "mini-css-extract-plugin": "0.9.0",
135
- "optimize-css-assets-webpack-plugin": "5.0.3",
136
- "pnp-webpack-plugin": "1.6.4",
137
- "prettier": "2.5.1",
138
- "prettier-check": "^2.0.0",
139
- "react-dev-utils": "^10.2.1",
140
- "react-docgen-typescript": "^1.18.0",
141
- "react-styleguidist": "^11.1.5",
142
- "react-test-renderer": "^16.13.1",
143
- "shelljs": "^0.8.4",
144
- "terser-webpack-plugin": "2.3.8",
145
- "ts-pnp": "1.1.6",
146
- "typescript": "^3.9.6",
147
- "webpack": "4.42.0",
148
- "webpack-cli": "^4.1.0",
149
- "webpack-dev-server": "3.11.0",
150
- "webpack-manifest-plugin": "2.2.0",
151
- "webpack-node-externals": "^2.5.2",
152
- "workbox-webpack-plugin": "4.3.1"
153
- },
154
- "description": "The SelfDecode Component Libary (SCL) was built with intention of speeding up the development of all products under SD, by creating a single source for all shared components such as form components which are re-used across our different products.",
155
- "repository": {
156
- "type": "git",
157
- "url": "git+ssh://git@bitbucket.org/selfdecode/sd-component-library.git"
158
- },
159
- "author": "selfdecode",
160
- "homepage": "https://bitbucket.org/selfdecode/sd-component-library#readme",
161
- "jest": {
162
- "roots": [
163
- "<rootDir>/src"
164
- ],
165
- "collectCoverageFrom": [
166
- "src/**/*.{js,jsx,ts,tsx}",
167
- "!src/**/*.d.ts"
168
- ],
169
- "setupFiles": [
170
- "react-app-polyfill/jsdom"
171
- ],
172
- "setupFilesAfterEnv": [
173
- "<rootDir>/src/setupTests.ts"
174
- ],
175
- "testMatch": [
176
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
177
- "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
178
- ],
179
- "testEnvironment": "jest-environment-jsdom-fourteen",
180
- "transform": {
181
- "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
182
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
183
- "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
184
- },
185
- "transformIgnorePatterns": [
186
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
187
- "^.+\\.module\\.(css|sass|scss)$"
188
- ],
189
- "modulePaths": [
190
- "/home/umar/Documents/Selfdecode/sd-component-library/src"
191
- ],
192
- "moduleNameMapper": {
193
- "^react-native$": "react-native-web",
194
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
195
- },
196
- "moduleFileExtensions": [
197
- "web.js",
198
- "js",
199
- "web.ts",
200
- "ts",
201
- "web.tsx",
202
- "tsx",
203
- "json",
204
- "web.jsx",
205
- "jsx",
206
- "node"
207
- ],
208
- "watchPlugins": [
209
- "jest-watch-typeahead/filename",
210
- "jest-watch-typeahead/testname"
211
- ]
212
- },
213
- "babel": {
214
- "presets": [
215
- "react-app"
216
- ]
217
- }
218
- }
1
+ {
2
+ "name": "@selfdecode/sd-component-library",
3
+ "version": "2.46.16",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "main": "./lib/index.js",
7
+ "files": [
8
+ "lib"
9
+ ],
10
+ "directories": {
11
+ "lib": "lib"
12
+ },
13
+ "dependencies": {
14
+ "@rebass/forms": "^4.0.6",
15
+ "@svgr/webpack": "4.3.3",
16
+ "@types/body-scroll-lock": "^3.1.0",
17
+ "@types/lodash": "^4.14.168",
18
+ "@types/react-router-dom": "^5.1.5",
19
+ "body-scroll-lock": "^4.0.0-beta.0",
20
+ "camelcase": "^5.3.1",
21
+ "css-loader": "3.4.2",
22
+ "date-fns": "^2.19.0",
23
+ "emotion-theming": "^10.0.27",
24
+ "file-loader": "4.3.0",
25
+ "fs-extra": "^8.1.0",
26
+ "history": "^4.10.1",
27
+ "html-webpack-plugin": "4.0.0-beta.11",
28
+ "identity-obj-proxy": "3.0.0",
29
+ "lodash": "^4.17.21",
30
+ "node-sass": "^4.14.1",
31
+ "postcss-flexbugs-fixes": "4.1.0",
32
+ "postcss-loader": "3.0.0",
33
+ "postcss-normalize": "8.0.1",
34
+ "postcss-preset-env": "6.7.0",
35
+ "postcss-safe-parser": "4.0.1",
36
+ "react": "^16.13.1",
37
+ "react-app-polyfill": "^1.0.6",
38
+ "react-contenteditable": "^3.3.6",
39
+ "react-date-range": "^1.1.3",
40
+ "react-dom": "^16.13.1",
41
+ "react-router-dom": "^5.2.0",
42
+ "react-share": "^4.2.1",
43
+ "react-transition-group": "^4.4.1",
44
+ "rebass": "^4.0.7",
45
+ "resolve": "1.15.0",
46
+ "resolve-url-loader": "^3.1.2",
47
+ "sass-loader": "8.0.2",
48
+ "semver": "6.3.0",
49
+ "style-loader": "0.23.1",
50
+ "url-loader": "2.3.0"
51
+ },
52
+ "husky": {
53
+ "hooks": {
54
+ "pre-commit": "lint-staged"
55
+ }
56
+ },
57
+ "lint-staged": {
58
+ "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
59
+ "prettier --write"
60
+ ]
61
+ },
62
+ "scripts": {
63
+ "start": "node scripts/start.js",
64
+ "ci-test": "jest --collectCoverage",
65
+ "ci-prettier-check": "prettier-check 'src/**/@(*.js|*.ts|*.tsx|*.json|*.css|*.scss|*.md)!(*.chunk.js)'",
66
+ "test": "node scripts/test.js",
67
+ "styleguide": "styleguidist server --port=7070",
68
+ "styleguide:build": "styleguidist build",
69
+ "clean": "npx shx rm -rf ./lib",
70
+ "copy": "copyfiles -u 1 ./src/**/*.svg ./lib",
71
+ "prebuild": "npm run clean",
72
+ "postbuild": "npm run copy",
73
+ "build": "tsc --build && webpack",
74
+ "prepublishOnly": "npm run ci-test && npm run build"
75
+ },
76
+ "eslintConfig": {
77
+ "extends": "react-app"
78
+ },
79
+ "browserslist": {
80
+ "production": [
81
+ ">0.2%",
82
+ "not dead",
83
+ "not op_mini all"
84
+ ],
85
+ "development": [
86
+ "last 1 chrome version",
87
+ "last 1 firefox version",
88
+ "last 1 safari version"
89
+ ]
90
+ },
91
+ "devDependencies": {
92
+ "@babel/core": "7.9.0",
93
+ "@testing-library/jest-dom": "^4.2.4",
94
+ "@testing-library/react": "^9.5.0",
95
+ "@testing-library/user-event": "^7.2.1",
96
+ "@trivago/prettier-plugin-sort-imports": "^3.1.1",
97
+ "@types/enzyme": "^3.10.5",
98
+ "@types/enzyme-adapter-react-16": "^1.0.6",
99
+ "@types/jest": "^24.9.1",
100
+ "@types/node": "^12.12.50",
101
+ "@types/react": "^16.9.43",
102
+ "@types/react-date-range": "^1.1.3",
103
+ "@types/react-dom": "^16.9.8",
104
+ "@types/react-transition-group": "^4.4.1",
105
+ "@types/rebass": "^4.0.6",
106
+ "@types/rebass__forms": "^4.0.2",
107
+ "@typescript-eslint/eslint-plugin": "^2.10.0",
108
+ "@typescript-eslint/parser": "^2.10.0",
109
+ "babel-eslint": "10.1.0",
110
+ "babel-jest": "^24.9.0",
111
+ "babel-loader": "8.1.0",
112
+ "babel-plugin-named-asset-import": "^0.3.6",
113
+ "babel-preset-react-app": "^9.1.2",
114
+ "case-sensitive-paths-webpack-plugin": "2.3.0",
115
+ "copyfiles": "^2.3.0",
116
+ "dotenv": "8.2.0",
117
+ "dotenv-expand": "5.1.0",
118
+ "enzyme": "^3.11.0",
119
+ "enzyme-adapter-react-16": "^1.15.2",
120
+ "eslint": "^6.6.0",
121
+ "eslint-config-react-app": "^5.2.1",
122
+ "eslint-loader": "3.0.3",
123
+ "eslint-plugin-flowtype": "4.6.0",
124
+ "eslint-plugin-import": "2.20.1",
125
+ "eslint-plugin-jsx-a11y": "6.2.3",
126
+ "eslint-plugin-react": "7.19.0",
127
+ "eslint-plugin-react-hooks": "^1.6.1",
128
+ "husky": "^4.2.5",
129
+ "jest": "24.9.0",
130
+ "jest-environment-jsdom-fourteen": "1.0.1",
131
+ "jest-resolve": "24.9.0",
132
+ "jest-watch-typeahead": "0.4.2",
133
+ "lint-staged": "^10.2.11",
134
+ "mini-css-extract-plugin": "0.9.0",
135
+ "optimize-css-assets-webpack-plugin": "5.0.3",
136
+ "pnp-webpack-plugin": "1.6.4",
137
+ "prettier": "2.5.1",
138
+ "prettier-check": "^2.0.0",
139
+ "react-dev-utils": "^10.2.1",
140
+ "react-docgen-typescript": "^1.18.0",
141
+ "react-styleguidist": "^11.1.5",
142
+ "react-test-renderer": "^16.13.1",
143
+ "shelljs": "^0.8.4",
144
+ "terser-webpack-plugin": "2.3.8",
145
+ "ts-pnp": "1.1.6",
146
+ "typescript": "^3.9.6",
147
+ "webpack": "4.42.0",
148
+ "webpack-cli": "^4.1.0",
149
+ "webpack-dev-server": "3.11.0",
150
+ "webpack-manifest-plugin": "2.2.0",
151
+ "webpack-node-externals": "^2.5.2",
152
+ "workbox-webpack-plugin": "4.3.1"
153
+ },
154
+ "description": "The SelfDecode Component Libary (SCL) was built with intention of speeding up the development of all products under SD, by creating a single source for all shared components such as form components which are re-used across our different products.",
155
+ "repository": {
156
+ "type": "git",
157
+ "url": "git+ssh://git@bitbucket.org/selfdecode/sd-component-library.git"
158
+ },
159
+ "author": "selfdecode",
160
+ "homepage": "https://bitbucket.org/selfdecode/sd-component-library#readme",
161
+ "jest": {
162
+ "roots": [
163
+ "<rootDir>/src"
164
+ ],
165
+ "collectCoverageFrom": [
166
+ "src/**/*.{js,jsx,ts,tsx}",
167
+ "!src/**/*.d.ts"
168
+ ],
169
+ "setupFiles": [
170
+ "react-app-polyfill/jsdom"
171
+ ],
172
+ "setupFilesAfterEnv": [
173
+ "<rootDir>/src/setupTests.ts"
174
+ ],
175
+ "testMatch": [
176
+ "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
177
+ "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
178
+ ],
179
+ "testEnvironment": "jest-environment-jsdom-fourteen",
180
+ "transform": {
181
+ "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
182
+ "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
183
+ "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
184
+ },
185
+ "transformIgnorePatterns": [
186
+ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
187
+ "^.+\\.module\\.(css|sass|scss)$"
188
+ ],
189
+ "modulePaths": [
190
+ "/home/umar/Documents/Selfdecode/sd-component-library/src"
191
+ ],
192
+ "moduleNameMapper": {
193
+ "^react-native$": "react-native-web",
194
+ "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
195
+ },
196
+ "moduleFileExtensions": [
197
+ "web.js",
198
+ "js",
199
+ "web.ts",
200
+ "ts",
201
+ "web.tsx",
202
+ "tsx",
203
+ "json",
204
+ "web.jsx",
205
+ "jsx",
206
+ "node"
207
+ ],
208
+ "watchPlugins": [
209
+ "jest-watch-typeahead/filename",
210
+ "jest-watch-typeahead/testname"
211
+ ]
212
+ },
213
+ "babel": {
214
+ "presets": [
215
+ "react-app"
216
+ ]
217
+ }
218
+ }