Skip to content

Instantly share code, notes, and snippets.

@mjmaix
Created October 28, 2018 15:02
Show Gist options
  • Save mjmaix/ef59561e7212c9ed7d16b9039fe8618c to your computer and use it in GitHub Desktop.
Save mjmaix/ef59561e7212c9ed7d16b9039fe8618c to your computer and use it in GitHub Desktop.
Generated using `create-rx-app sample-app`, added `build:android` and `build:ios`, added "@babel/runtime" and switch to Xcode legacy build, added `build/` prefix on derived path
{
"name": "sample-app",
"private": true,
"main": "index.js",
"version": "0.0.1",
"scripts": {
"rn-cli": "node node_modules/react-native/local-cli/cli.js",
"start:android": "npm run rn-cli -- run-android",
"start:windows": "npm run rn-cli -- run-windows",
"start:ios": "npm run rn-cli -- run-ios",
"start:web": "cross-env platform=web webpack-dev-server --config=web/webpack/dev.js --progress --colors --mode=development",
"start:rn-dev-server": "npm run rn-cli -- start --reset-cache",
"build:ios": "npm run rn-cli -- run-ios --scheme JuryHelper-release --configuration Release",
"build:android": "ENVFILE=.env.release npm run rn-cli -- run-android --variant=release",
"build:web": "cross-env platform=web webpack --config=web/webpack/prod.js --progress --colors --mode=production",
"build:types": "tsc --emitDeclarationOnly",
"lint": "tslint -p tsconfig.json -r tslint.json",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- -w"
},
"devDependencies": {
"@babel/core": "7.1.2",
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/preset-env": "7.1.0",
"babel-loader": "8.0.4",
"cross-env": "5.2.0",
"fork-ts-checker-webpack-plugin": "0.4.12",
"html-webpack-plugin": "3.2.0",
"metro-react-native-babel-preset": "0.48.1",
"rnpm-plugin-windows": "0.2.8",
"tslint": "5.11.0",
"tslint-react": "3.6.0",
"typescript": "3.1.3",
"webpack": "4.23.0",
"webpack-cli": "3.1.2",
"webpack-dev-server": "3.1.10",
"webpack-merge": "4.1.4"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"aws-amplify": "^1.1.7",
"react": "16.6.0",
"react-dom": "16.6.0",
"react-native": "0.57.3",
"react-native-windows": "0.57.0-rc.0",
"reactxp": "1.4.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment