_ _
_ __ ___ (_)_ __ (_)
| '_ ` _ \| | '_ \| |
| | | | | | | | | | |
|_| |_| |_|_|_| |_|_|
git clone https://github.com/Distribute-Inc/mini-frontend.git minicd miniyarn install(brew install yarn- or whatever you prefer)yarn serve
So because we're forwarding commands from yarn to nps, you don't have to install nps yourself, but you probably should.
yarn install nps globalornpm i nps -g(you may require the latter asyarn's cli-executable installations are sometimes janky, YMMV)
This repo uses nps to allow for simple commands which can be executed individually (and which behave identically to running the command in the terminal).
For any of the following, you can run either nps <command> or yarn <command> (as they have been copied into the package.json#scripts as well):
bundle- bundle the uh, bundleprecommit- do stuff before committing (use --no-verify to skip -- at your peril)serve- serve up application locallybuild- build all-the-thingstest- right now there are no tests, so be warylint- wish this was eslint, 'cause the rules here are loosedependencies- do stuff relative to dependenciesdependencies.graph- draw a dependency graph, or whatever