react-everywhere / re-start

react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
https://medium.com/@amoghbanta/write-once-use-everywhere-with-react-native-d6e575efe58e#.nfl50gwfg
MIT License
1.3k stars 85 forks source link

Tested dependencies #36

Closed alchy58 closed 7 years ago

alchy58 commented 7 years ago

Hi, Thank you for your awesome work ! I need to build a cross-platform app and your project seems to be the perfect boilerplate to start. I just have issues with react versions, react@16.0.0-alpha.6, react@15.4.x || 15.5.x, react-native@~0.42.0, I become crazy. Please, can you clarify which version to use, as of now, I can't make re-start working out of the box. Thank you very much again for your work !

alchy58 commented 7 years ago

I finally success to work with Node 8 and the following package.json

{
    "name":"restartNode8",
    "version":"0.0.1",
    "private":true,
    "scripts":
    {
        "start":"node node_modules/react-native/local-cli/cli.js start",
        "test":"jest",
        "web":"node scripts/start.js",
        "build":"node scripts/build.js"
    },
    "dependencies":
    {
        "file-loader":"0.10.0",
        "prettier":"^0.22.0",
        "react":"15.4.x",
        "react-dom":"15.4.x",
        "react-native":"~0.42.0",
        "react-native-web":"0.0.88",
        "react-native-windows":"^0.42.0",
        "react-redux":"^5.0.3",
        "react-router":"4.0.0",
        "react-router-dom":"4.0.0",
        "react-router-native":"4.0.0",
        "redux":"^3.6.0",
        "redux-thunk":"^2.2.0"
    },
    "devDependencies":
    {
        "autoprefixer":"6.7.2",
        "babel-core":"6.22.1",
        "babel-eslint":"7.1.1",
        "babel-jest":"21.2.0",
        "babel-loader":"6.2.10",
        "babel-preset-react-app":"^2.2.0",
        "babel-preset-react-native":"4.0.0",
        "babel-runtime":"^6.20.0",
        "case-sensitive-paths-webpack-plugin":"1.1.4",
        "chalk":"1.1.3",
        "connect-history-api-fallback":"1.3.0",
        "cross-spawn":"4.0.2",
        "css-loader":"0.26.1",
        "detect-port":"1.1.0",
        "dotenv":"2.0.0",
        "eslint":"3.16.1",
        "eslint-config-react-app":"^0.6.2",
        "eslint-loader":"1.6.0",
        "eslint-plugin-flowtype":"2.21.0",
        "eslint-plugin-import":"2.0.1",
        "eslint-plugin-jsx-a11y":"4.0.0",
        "eslint-plugin-react":"6.4.1",
        "extract-text-webpack-plugin":"1.0.1",
        "fs-extra":"0.30.0",
        "html-webpack-plugin":"2.24.0",
        "http-proxy-middleware":"0.17.3",
        "jest":"21.2.1",
        "json-loader":"0.5.4",
        "object-assign":"4.1.1",
        "postcss-loader":"1.2.2",
        "promise":"7.1.1",
        "react-dev-utils":"^0.5.2",
        "react-test-renderer":"15.4.x",
        "style-loader":"0.13.1",
        "url-loader":"0.5.7",
        "webpack":"1.14.0",
        "webpack-dev-server":"1.16.2",
        "webpack-manifest-plugin":"1.1.0",
        "whatwg-fetch":"2.0.2"
    },
    "jest":
    {
        "preset":"react-native"
    }
}