This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
69 lines (69 loc) · 2.89 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
{
"name": "app-react-web-native",
"version": "0.0.1",
"description": "Merged React & React Native Build Scripts",
"author": "Reinaldo Haynes (https://github.com/ReyHaynes)",
"homepage": "https://github.com/ReyHaynes/react-redux-web-native",
"license": {
"type": "MIT",
"url": "https://github.com/ReyHaynes/react-redux-web-native/blob/master/LICENSE"
},
"bugs": {
"url": "https://github.com/ReyHaynes/react-redux-web-native/issues"
},
"scripts": {
"start": "echo '\"start\" script has been replaced with \"web:start\" & \"app:start\"'",
"build": "echo '\"build\" script has been replaced with \"web:build\"'",
"eject": "echo '\"eject\" script has been replaced with \"web:eject\" & \"app:eject\"'",
"test": "yarn web:test && yarn app:test",
"web:start": "react-scripts start",
"web:build": "react-scripts build",
"web:test": "jest --env=jsdom --testMatch='<rootDir>/__tests__/web/**/*.js?(x)'",
"web:eject": "react-scripts eject",
"app:start": "node node_modules/react-native/local-cli/cli.js start",
"app:test": "jest --preset=react-native --testMatch='<rootDir>/__tests__/native/**/*.js?(x)'",
"app:eject": "rm -rf ./android && rm -rf ./ios && react-native eject",
"app:link": "react-native link",
"ios:start": "react-native run-ios",
"ios:bundle": "react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios",
"ios:build": "react-native run-ios --configuration Release",
"android:start": "react-native run-android",
"android:clean": "cd android && ./gradlew clean",
"android:build": "cd android && ./gradlew assembleRelease",
"android:bundle": "react-native bundle --platform android --dev false --entry-file ./index.android.js --bundle-output ./android/app/src/main/assets/index.android.bundle --sourcemap-output ./android/app/src/main/assets/index.android.map --assets-dest ./android/app/src/main/res/",
"android:signkey": "keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000",
"android:signer": "cd android/app/build/outputs/apk/ && jarsigner -verbose -keystore ~/.android/debug.keystore -storepass android -keypass android app-release-unsigned.apk androiddebugkey"
},
"dependencies": {
"react": "16.0.0-beta.5",
"react-dom": "^16.0.0",
"react-native": "0.49.5",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"react-router-native": "^4.2.0",
"react-scripts": "^1.0.14",
"redux": "^3.7.2",
"redux-persist": "^5.4.0",
"redux-promise": "^0.5.3",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "21.2.0",
"babel-preset-react-native": "4.0.0",
"jest": "^21.2.1",
"react-test-renderer": "16.0.0-beta.5"
},
"jest": {
"moduleFileExtensions": [
"jsx",
"js",
"json"
],
"setupFiles": [
"<rootDir>/__tests__/setupTests.js"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-router-native)/"
]
}
}