Skip to content

Instantly share code, notes, and snippets.

@brianrip
Last active June 2, 2016 03:20
Show Gist options
  • Save brianrip/eb55d84b3f5bee2896499e2acee45ee6 to your computer and use it in GitHub Desktop.
Save brianrip/eb55d84b3f5bee2896499e2acee45ee6 to your computer and use it in GitHub Desktop.
react from scratch
   
    * git 
   
        * git init
   
    * npm 
   
         * npm init
   
    * react 
   
        * react 
   
        * react-dom    
   
    * babel
   
        * .babelrc
   
            * echo '{ "presets": ["es2015", "react"] }' > .babelrc
   
        * packages: 
   
            * babel
   
            * babel-register
       
            * babel-loader 
       
            * babel-core
       
            * babel-preset-react
       
            * babel-preset-es2015
   
    * eslint
   
        * echo '"extends": "airbnb"' > .eslintrc
   
        * packages: 
   
            * eslint
   
            * eslint-config-airbnb
   
            * eslint-plugin-react
   
        * add plugin for your editor (70%)
   
    * webpack 
   
        * packages: 
   
            * webpack-dev-server
   
            * webpack
   
        * file: 
   
            * webpack.config.js
   
    * express
   
        * server.js
   
    * (mocha + enzyme)
    
    * dirs: 
   
        * lib
     
        * public```

-https://github.com/applegrain/react-playground/

-https://github.com/applegrain/super-simple-react-project/
​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment