Skip to content

Commit 9012739

Browse files
refactor:将代码改为补丁包形式 (#4)
1 parent 5314320 commit 9012739

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

harmony/.gitkeep

Whitespace-only changes.

package.json

+3-17
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@
1010
"files": [
1111
"src",
1212
"lib",
13-
"android",
14-
"ios",
15-
"cpp",
16-
"*.podspec",
1713
"!lib/typescript/example",
18-
"!ios/build",
19-
"!android/build",
20-
"!android/gradle",
21-
"!android/gradlew",
22-
"!android/gradlew.bat",
23-
"!android/local.properties",
2414
"!**/__tests__",
2515
"!**/__fixtures__",
2616
"!**/__mocks__",
@@ -41,8 +31,6 @@
4131
},
4232
"keywords": [
4333
"react-native",
44-
"ios",
45-
"android",
4634
"harmony"
4735
],
4836
"repository": "https://github.com/vonovak/react-native-simple-toast",
@@ -55,6 +43,9 @@
5543
"publishConfig": {
5644
"registry": "https://registry.npmjs.org/"
5745
},
46+
"dependencies": {
47+
"react-native-simple-toast" : "3.3.1"
48+
},
5849
"devDependencies": {
5950
"@evilmartians/lefthook": "^1.2.2",
6051
"@commitlint/config-conventional": "^17.0.2",
@@ -155,10 +146,5 @@
155146
}
156147
]
157148
]
158-
},
159-
"codegenConfig": {
160-
"name": "RNSimpleToastSpec",
161-
"type": "modules",
162-
"jsSrcsDir": "src"
163149
}
164150
}

0 commit comments

Comments
 (0)