from Hacker News

Show HN: Reactpack – one command to build your React front end

by ola on 6/2/16, 5:11 PM with 45 comments

  • by tomtau on 6/2/16, 7:17 PM

    I wish we had something like this officially backed by the react team. In 30 minutes when a new standard approach comes out, this tool will become obsolete.
  • by ola on 6/2/16, 5:32 PM

    Just a small utility for people who are tired of remembering what babel presets or Webpack loaders they need to build a relatively up to date React project.
  • by matthewtoast on 6/2/16, 7:37 PM

    Nice work! I've been looking for something like this.

    I hope to see more tools in this vein emerge from the JavaScript ecosystem - tools that aren't afraid to make some well-reasoned assumptions for the sake of a more minimal interface. (It seems like every tool nowadays wants you to put another dotfile or garbage.json at the root of your project.)

  • by bahmutov on 6/2/16, 6:24 PM

    We use "bates" https://github.com/luiscarli/bates by our own engineer
  • by armandososa on 6/3/16, 2:27 AM

    I would love this only for the react stuff. More useful defaults, less opinions. For example: please let me chose my own CSS workflow and please don't force me to write javascript without semicolons like an animal :P.

    Update: I just realised that you can bypass the linter and the postcss. I am sorry OP, looks like I'm a lazy jackass.

  • by smrtinsert on 6/2/16, 9:33 PM

    Finally, an opinionated build tool.
  • by RomanPushkin on 6/3/16, 5:39 PM

    I've similar plugin for gulp https://github.com/ro31337/gulp-react-easy
  • by greenspot on 6/2/16, 6:38 PM

    react router missing
  • by Untit1ed on 6/3/16, 12:17 AM

    That is an amazing logo.
  • by kcaptcaer on 6/2/16, 7:33 PM

    I'm a bit confused - this didn't actually install a shell script that can be run ?
  • by dakami on 6/2/16, 5:42 PM

    was that...like...a hundred megs for a web page?
  • by zxcvcxz on 6/2/16, 7:33 PM

    When I try to install it npm just hangs

    command:

        npm i --save-dev reactpack
    
    node version:

        v0.12.6
    
    npm version

        2.11.2
    
    uname -a

        Linux gentoo-1 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux
  • by pitaj on 6/3/16, 7:06 AM

        S  E  M  I  C  O  L  O  N  S
        E
        M
        I
        C
        O
        L
        O
        N
        S
  • by wavelattice on 6/2/16, 11:56 PM

    These things are always funny to me. By the third or so release, it'll be just as easy to write your own script than to learn how to use this.