-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
36 lines (36 loc) · 1.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "ReactNativeDynamic",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"build:base:ios": "react-native bundle --platform ios --dev false --entry-file common-entry.js --bundle-output dist/base/common.ios.bundle --assets-dest dist/base --config ./metro.base.config.js --reset-cache && node ./compile/split-common.js dist/base/common.ios.bundle",
"build:bus:ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output dist/business/business.ios.bundle --assets-dest dist/business --config ./metro.business.config.js --reset-cache",
"build:ios": "npm run build:base:ios && npm run build:bus:ios",
"build:base:android": "react-native bundle --platform android --dev false --entry-file common-entry.js --bundle-output android/app/src/main/assets/common.android.bundle --assets-dest android/app/src/main/assets --config ./metro.base.config.js --reset-cache && node ./compile/split-common.js android/app/src/main/assets/common.android.bundle ",
"build:bus:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/business.android.bundle --assets-dest android/app/src/main/assets --config ./metro.business.config.js --reset-cache",
"build:android": " npm run build:base:android && npm run build:bus:android",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"crypto-js": "^4.1.1",
"react": "17.0.1",
"react-native": "0.64.2"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/runtime": "^7.14.6",
"@react-native-community/eslint-config": "^3.0.0",
"babel-jest": "^27.0.2",
"eslint": "^7.29.0",
"jest": "^27.0.4",
"metro-react-native-babel-preset": "^0.66.0",
"react-test-renderer": "17.0.1"
},
"jest": {
"preset": "react-native"
}
}