-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
81 lines (81 loc) · 2.85 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "mall_page",
"version": "0.0.1",
"private": true,
"scripts": {
"postinstall": "patch-package",
"adb:reverse": "adb reverse tcp:8081 tcp:8081",
"mock": "sn-mock-server --watch --port 8090 --api-base-path ./mock",
"start": "node node_modules/react-native/local-cli/cli.js start",
"reset": "node node_modules/react-native/local-cli/cli.js start --reset-cache",
"android": "npx react-native run-android",
"ios": "./node_modules/.bin/react-native run-ios --simulator 'iPhone 14 Pro Max'",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"clear:bundle": "rimraf ./bundle/*",
"build:ios": "npx srn bundle --entry index.js --outputDir ./bundle/ios/ --platform ios --assetsDest ./bundle/ios/",
"build:android": "npx srn bundle --entry index.js --outputDir ./bundle/android/ --platform android --assetsDest ./bundle/android/",
"zip:bundle": "npx srn zip --name index",
"build": "npm run clear:bundle && npm run build:ios && npm run build:android && npm run zip:bundle",
"test": "jest"
},
"dependencies": {
"@liuhui1990/react-native-iphone-x-helper": "^1.4.3",
"@react-native-picker/picker": "^2.4.2",
"@react-navigation/native": "^6.0.13",
"@react-navigation/stack": "^6.3.1",
"@reduxjs/toolkit": "^1.8.6",
"array-tree-filter": "^2.1.0",
"axios": "^0.27.2",
"dayjs": "^1.11.3",
"events": "^3.3.0",
"jsencrypt": "^3.2.1",
"prop-types": "^15.8.1",
"qs": "^6.10.5",
"react": "^18.1.0",
"react-native": "0.70.1",
"react-native-drawer-layout": "^2.0.0",
"react-native-exception-handler": "^2.10.10",
"react-native-fast-image": "^8.6.1",
"react-native-gesture-handler": "^2.6.2",
"react-native-image-picker": "^5.3.1",
"react-native-navigate": "^0.1.10",
"react-native-safe-area-context": "^4.3.4",
"react-native-screens": "^3.17.0",
"react-redux": "^8.0.4",
"redux-logger": "^3.0.6"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@tsconfig/react-native": "^2.0.2",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.70.0",
"@types/react-redux": "^7.1.24",
"@types/react-test-renderer": "^18.0.0",
"@types/redux-logger": "^3.0.9",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^26.6.3",
"babel-plugin-root-import": "^6.6.0",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.72.1",
"patch-package": "^6.5.0",
"react-test-renderer": "^18.1.0",
"srn-cli": "^0.0.27",
"typescript": "^4.8.3"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}