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.
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 throughnpm 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.