@medely/react-fontawesome 0.0.1 → 0.1.0
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.
- package/README.md +36 -20
- package/index.d.ts +34 -33
- package/index.es.js +273 -207
- package/index.js +342 -419
- package/package.json +21 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medely/react-fontawesome",
|
|
3
|
-
"description": "Official React component for Font Awesome
|
|
4
|
-
"version": "0.0
|
|
3
|
+
"description": "Official React component for Font Awesome",
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.es.js",
|
|
7
7
|
"jsnext:main": "index.es.js",
|
|
@@ -26,7 +26,13 @@
|
|
|
26
26
|
"Lukáš Rod <github.com/rodlukas>",
|
|
27
27
|
"Proudust <github.com/proudust>",
|
|
28
28
|
"Tiago Sousa <github.com/TiagoPortfolio>",
|
|
29
|
-
"Alexey Victorov <github.com/AliMamed>"
|
|
29
|
+
"Alexey Victorov <github.com/AliMamed>",
|
|
30
|
+
"Calum Smith <github.com/cpmsmith>",
|
|
31
|
+
"squiaios <github.com/squiaios>",
|
|
32
|
+
"WyvernDrexx <github.com/WyvernDrexx>",
|
|
33
|
+
"Jason Lundien <github.com/jasonlundien>",
|
|
34
|
+
"Jon Defresne <github.com/jdufresne>",
|
|
35
|
+
"Charles Harwood <github.com/charles4221>"
|
|
30
36
|
],
|
|
31
37
|
"license": "MIT",
|
|
32
38
|
"scripts": {
|
|
@@ -34,9 +40,11 @@
|
|
|
34
40
|
"dist": "cross-env NODE_ENV=production npm run build",
|
|
35
41
|
"lint": "eslint src",
|
|
36
42
|
"prettier": "pretty-quick --pattern src/** --staged",
|
|
43
|
+
"prepack": "npm run dist",
|
|
37
44
|
"test": "jest --silent",
|
|
38
|
-
"install.5": "npm --no-save install
|
|
39
|
-
"install.6": "npm --no-save install
|
|
45
|
+
"install.5": "npm --no-save install @fortawesome/fontawesome-svg-core@1.2.x @fortawesome/free-solid-svg-icons@5.x",
|
|
46
|
+
"install.6": "npm --no-save install @fortawesome/fontawesome-svg-core@6.x @fortawesome/free-solid-svg-icons@6.x",
|
|
47
|
+
"install.7": "npm --no-save install @fortawesome/fontawesome-svg-core@7.x @fortawesome/free-solid-svg-icons@7.x",
|
|
40
48
|
"clean": "rm -f index.js && rm -f index.es.js"
|
|
41
49
|
},
|
|
42
50
|
"lint-staged": {
|
|
@@ -46,8 +54,8 @@
|
|
|
46
54
|
]
|
|
47
55
|
},
|
|
48
56
|
"peerDependencies": {
|
|
49
|
-
"@medely/fontawesome-svg-core": "
|
|
50
|
-
"react": "
|
|
57
|
+
"@medely/fontawesome-svg-core": "^0.1.0",
|
|
58
|
+
"react": "^16.3 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
51
59
|
},
|
|
52
60
|
"devDependencies": {
|
|
53
61
|
"@babel/core": "^7.16.7",
|
|
@@ -55,8 +63,9 @@
|
|
|
55
63
|
"@babel/preset-env": "^7.16.8",
|
|
56
64
|
"@babel/preset-react": "^7.16.7",
|
|
57
65
|
"@babel/preset-stage-3": "^7.8.3",
|
|
58
|
-
"@
|
|
59
|
-
"@fortawesome/free-
|
|
66
|
+
"@fortawesome/fontawesome-svg-core": "^7.0.0",
|
|
67
|
+
"@fortawesome/free-brands-svg-icons": "^7.0.0",
|
|
68
|
+
"@fortawesome/free-solid-svg-icons": "^7.0.0",
|
|
60
69
|
"@rollup/plugin-babel": "^5.3.0",
|
|
61
70
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
62
71
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
@@ -81,10 +90,11 @@
|
|
|
81
90
|
"markdown-toc": "^1.2.0",
|
|
82
91
|
"prettier": "^2.5.1",
|
|
83
92
|
"pretty-quick": "^3.1.3",
|
|
84
|
-
"react": "
|
|
93
|
+
"react": "^17.0.2",
|
|
85
94
|
"react-dom": "^17.0.2",
|
|
86
95
|
"react-test-renderer": "^17.0.2",
|
|
87
|
-
"rollup": "^2.64.0"
|
|
96
|
+
"rollup": "^2.64.0",
|
|
97
|
+
"semver": "^7.3.7"
|
|
88
98
|
},
|
|
89
99
|
"dependencies": {
|
|
90
100
|
"prop-types": "^15.8.1"
|