|
4 | 4 | "scripts": { |
5 | 5 | "prepare": "husky install && cd ./test-ci && yarn install", |
6 | 6 | "⬇️⬇️⬇️⬇️⬇️ example::examples ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::examples ▼▼▼▼▼", |
7 | | - "lib:build:examples": "lerna exec --scope @uiw/react-native -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../example/examples/lib", |
8 | | - "lib:watch:examples": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../example/examples/lib", |
| 7 | + "lib:build:examples": "lerna exec --scope @uiw/react-native -- tsbb build --disable-babel-option --no-esm --cjs ../../example/examples/lib", |
| 8 | + "lib:watch:examples": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm --cjs ../../example/examples/lib", |
9 | 9 | "⬆️⬆️⬆️⬆️⬆️ example::examples ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ example::examples ▲▲▲▲▲", |
10 | 10 | "⬇️⬇️⬇️⬇️⬇️ doc ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::examples ▼▼▼▼▼", |
11 | | - "build:doc": "lerna exec --scope @uiw/react-native -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../website/src/react-native/lib", |
12 | | - "watch:doc": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../website/src/react-native/lib", |
13 | | - "watch:doc1": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../website/lib", |
| 11 | + "build:doc": "lerna exec --scope @uiw/react-native -- tsbb build --disable-babel-option --no-esm --cjs ../../website/src/react-native/lib", |
| 12 | + "watch:doc": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm --cjs ../../website/src/react-native/lib", |
| 13 | + "watch:doc1": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm --cjs ../../website/lib", |
14 | 14 | "⬆️⬆️⬆️⬆️⬆️ doc ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ example::examples ▲▲▲▲▲", |
15 | 15 | "⬇️⬇️⬇️⬇️⬇️ example::base ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::base ▼▼▼▼▼", |
16 | | - "lib:build:base": "lerna exec --scope @uiw/react-native -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../example/base/lib", |
17 | | - "lib:watch:base": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../example/base/lib", |
| 16 | + "lib:build:base": "lerna exec --scope @uiw/react-native -- tsbb build --disable-babel-option --no-esm --cjs ../../example/base/lib", |
| 17 | + "lib:watch:base": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm --cjs ../../example/base/lib", |
18 | 18 | "⬆️⬆️⬆️⬆️⬆️ example::base ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ example::base ▲▲▲▲▲", |
19 | 19 | "⬇️⬇️⬇️⬇️⬇️ test-ci ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::base ▼▼▼▼▼", |
20 | | - "lib:build:test": "lerna exec --scope @uiw/react-native -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../test-ci/src/lib", |
21 | | - "lib:watch:test": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../test-ci/src/lib", |
| 20 | + "lib:build:test": "lerna exec --scope @uiw/react-native -- tsbb build --disable-babel-option --no-esm --cjs ../../test-ci/src/lib", |
| 21 | + "lib:watch:test": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm --cjs ../../test-ci/src/lib", |
22 | 22 | "test": "cd ./test-ci && npm run test", |
23 | 23 | "⬆️⬆️⬆️⬆️⬆️ test-ci ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ example::base ▲▲▲▲▲", |
24 | 24 | "watch": "npm run lib:watch & npm run lib:watch:base & npm run lib:watch:examples & npm run lib:watch:test && npm run watch:doc & npm run lib:watch:image-picker & npm run lib:watch:examples:image-picker & npm run lib:watch:base:image-picker", |
25 | | - "build": "npm run lib:build && npm run lib:build:base && npm run lib:build:examples && npm run lib:build:test && npm run build:doc && npm run lib:build:image-picker && npm run lib:build:examples:image-picker && npm run lib:build:base:image-picker", |
| 25 | + "build": "npm run lib:build && npm run lib:build:base && npm run lib:build:examples && npm run lib:build:test && npm run build:doc & npm run lib:build:image-picker & npm run lib:build:examples:image-picker & npm run lib:build:base:image-picker", |
26 | 26 | ">>>>>>>": ">>>>>>>", |
27 | | - "lib:build": "lerna exec --scope @uiw/react-native -- tsbb build src/*.{ts,tsx} --use-babel", |
28 | | - "lib:watch": "lerna exec --scope @uiw/react-native -- tsbb watch src/*.{ts,tsx} --use-babel", |
| 27 | + "lib:build": "lerna exec --scope @uiw/react-native -- tsbb build --disable-babel-option --no-esm", |
| 28 | + "lib:watch": "lerna exec --scope @uiw/react-native -- tsbb watch --disable-babel-option --no-esm", |
29 | 29 | "⬇️⬇️⬇️⬇️⬇️ image-picker ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::base ▼▼▼▼▼", |
30 | | - "lib:build:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build src/*.{ts,tsx} --use-babel", |
31 | | - "lib:watch:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch src/*.{ts,tsx} --use-babel", |
32 | | - "lib:build:examples:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../example/examples/lib2", |
33 | | - "lib:watch:examples:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../example/examples/lib2", |
34 | | - "lib:build:base:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build src/*.{ts,tsx} --use-babel --cjs ../../example/base/lib2", |
35 | | - "lib:watch:base:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch src/*.{ts,tsx} --use-babel --cjs ../../example/base/lib2", |
| 30 | + "lib:build:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build --disable-babel-option --no-esm", |
| 31 | + "lib:watch:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch --disable-babel-option --no-esm", |
| 32 | + "lib:build:examples:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build --disable-babel-option --no-esm --cjs ../../example/examples/lib2", |
| 33 | + "lib:watch:examples:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch --disable-babel-option --no-esm --cjs ../../example/examples/lib2", |
| 34 | + "lib:build:base:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb build --disable-babel-option --no-esm --cjs ../../example/base/lib2", |
| 35 | + "lib:watch:base:image-picker": "lerna exec --scope @uiw/react-native-image-picker -- tsbb watch --disable-babel-option --no-esm --cjs ../../example/base/lib2", |
36 | 36 | "⬆️⬆️⬆️⬆️⬆️ image-picker ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ example::base ▲▲▲▲▲", |
37 | 37 | "start": "lerna exec --scope website -- npm run start", |
38 | 38 | "doc": "lerna exec --scope website -- npm run build", |
|
53 | 53 | "babel-preset-react-native": "4.0.1", |
54 | 54 | "fs-extra": "~10.1.0", |
55 | 55 | "metro-react-native-babel-preset": "0.73.6", |
56 | | - "react": "18.2.0", |
57 | | - "react-native": "0.69.7", |
58 | | - "electron-to-chromium": "^1.4.365", |
59 | | - "@babel/plugin-transform-modules-commonjs": "^7.21.2", |
60 | | - "@babel/plugin-transform-classes": "^7.21.0" |
| 56 | + "react": "18.0.0", |
| 57 | + "react-native": "0.69.7" |
61 | 58 | }, |
62 | 59 | "dependencies": { |
63 | 60 | "husky": "^8.0.1", |
64 | 61 | "lerna": "^5.3.0", |
65 | 62 | "prettier": "^2.7.1", |
66 | 63 | "pretty-quick": "^3.1.3", |
67 | | - "tsbb": "^4.1.5", |
| 64 | + "tsbb": "3.7.6", |
68 | 65 | "typescript": "^4.7.4" |
69 | 66 | }, |
70 | 67 | "resolutions": { |
71 | | - "react":"~18.2.0", |
72 | | - "react-dom": "~18.2.0" |
| 68 | + "react":"18.0.0", |
| 69 | + "react-dom": "18.0.0" |
73 | 70 | }, |
74 | 71 | "workspaces": { |
75 | 72 | "packages": [ |
|
0 commit comments