Skip to content

Commit b3f36b2

Browse files
Merge pull request #13 from FDiskas/feature/use-npm
use npm instead git submodule
2 parents a87c991 + aa0765d commit b3f36b2

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

.svgrrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
'@svgr/babel-plugin-remove-jsx-attribute',
1212
{
1313
elements: ['Svg'],
14-
attributes: ['xmlns'],
14+
attributes: ['xmlns', 'className'],
1515
},
1616
],
1717
],

feather

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 23 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"typings": "lib/react-native-feather.d.ts",
77
"scripts": {
8-
"prepare-icons": "git submodule update && svgr --native --icon --typescript -d src/icons feather/icons",
8+
"prepare-icons": "svgr --native --icon --typescript -d src/icons node_modules/feather-icons/dist/icons",
99
"prepublish": "npm run prepare-icons && tsc -p tsconfig.json && npx api-extractor run --local && rimraf typings src"
1010
},
1111
"repository": {
@@ -37,6 +37,7 @@
3737
"@svgr/babel-plugin-remove-jsx-attribute": "^5.4.0",
3838
"@svgr/cli": "^5.5.0",
3939
"@types/react": "^17.0.11",
40+
"feather-icons": "^4.28.0",
4041
"react-native": "^0.64.2",
4142
"react-native-svg": "^12.1.1",
4243
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)