Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 8422abe

Browse files
committed
modify json
1 parent 91c26d0 commit 8422abe

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

package.json

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
{
2-
"name": "react-native-text_size",
3-
"version": "4.0.0-rc.1",
2+
"name": "@react-native-oh-tpl/react-native-text-size",
3+
"version": "4.0.0-0.0.2",
44
"harmony": {
55
"alias": "react-native-text-size"
6-
},
6+
},
77
"private": true,
88
"scripts": {
99
"android": "react-native run-android",
1010
"ios": "react-native run-ios",
1111
"lint": "eslint .",
1212
"start": "react-native start",
13-
"test": "jest"
13+
"test": "jest",
14+
"bob": "bob build",
15+
"prepare": "npm run bob"
1416
},
1517
"dependencies": {
16-
"react": "18.2.0",
17-
"react-native": "0.73.2",
18+
"react": "*",
19+
"react-native": "*",
1820
"react-native-prompt-android": "^1.1.0"
1921
},
2022
"devDependencies": {
@@ -31,19 +33,19 @@
3133
"eslint": "^8.19.0",
3234
"jest": "^29.6.3",
3335
"prettier": "2.8.8",
36+
"react-native-builder-bob": "^0.20.4",
3437
"react-test-renderer": "18.2.0",
3538
"typescript": "5.0.4"
3639
},
3740
"engines": {
3841
"node": ">=18"
3942
},
40-
4143
"description": "RN_TextSize with TurboModules",
42-
"react-native": "src/index",
43-
"source": "src/index",
44+
"main": "lib/commonjs/index",
4445
"module": "lib/module/index",
45-
"typings": "lib/typescript/index.d.ts",
46-
"main": "src/index",
46+
"types": "lib/typescript/index.d.ts",
47+
"react-native": "src/index.ts",
48+
"source": "src/index.ts",
4749
"files": [
4850
"src",
4951
"android",
@@ -67,6 +69,19 @@
6769
"android": {
6870
"javaPackageName": "com.rn_textsize"
6971
}
72+
},
73+
"react-native-builder-bob": {
74+
"source": "src",
75+
"output": "lib",
76+
"targets": [
77+
"commonjs",
78+
"module",
79+
[
80+
"typescript",
81+
{
82+
"project": "tsconfig.build.json"
83+
}
84+
]
85+
]
7086
}
71-
7287
}

0 commit comments

Comments
 (0)