grondje / grondje.github.io

0 stars 0 forks source link

Create Readme.md and write some NPM scripts #6

Open soylent-grin opened 8 years ago

soylent-grin commented 8 years ago

There is an unified way to do something in NPM ecosystem - NPM scripts. See your package.json file - there is yet another one - test, which do nothing but print some text. NPM script is exactly one-liner bash script, that is available through npm run <script-name> command. Implement the following scripts - build compile files to dist, prod do exactly the same and minifies them, dev also compile files and launch dev server in your folder.
After that, put Readme file in the root of your repo, so other developers would see brief info about it. Describe there, how to build and launch your app.