Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate React App SDK #17

Open
koistya opened this issue Jul 25, 2016 · 0 comments
Open

Integrate React App SDK #17

koistya opened this issue Jul 25, 2016 · 0 comments

Comments

@koistya
Copy link
Member

koistya commented Jul 25, 2016

What do you think about extracting (1) webpack.config.js, (2) all the dev dependencies (~50), and automation scripts (build, run) into a stand-alone npm package (react-app)?

This way it might be easier for to keep your project based on ASP.NET Core Starter Kit template up to date, you just update react-app-tools dev dependency in your front-end project from time to time, which will ensure that you're using the latest and greatest configs and CLI tools ready to be used for building, running and testing your React application.

The package.json file in your project will look nice and clean, literally:

{
  "private": true,
  "dependencies": {
    "history": "^3.0.0",
    "react": "^15.2.1",
    "react-app": "^1.1.1",
    "react-dom": "^15.2.1",
    "react-redux": "^4.4.5",
    "redux": "^3.5.2",
    "whatwg-fetch": "^1.0.0"
  },
  "devDependencies": {
    "react-app-tools": "^1.1.1",
  },
  "scripts": {
    "build": "react-app build",
    "start": "react-app start",
  }
}

FAQ

  • Will I be able to customize Babel, Webpack, Browsersync and other configs?
    Yes, there will be an easy way to extend/tweak the default configs (Webpack, Babel, PostCSS etc.)
  • Will I be able to customize automation scripts?
    Yes, there will be an easy way to add or customize the existing scripts (build, run etc.)

Preview

https://github.com/kriasoft/react-app

@koistya koistya changed the title Integrate react-app-tools Integrate React App SDK Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant