This package enable a cli command to generate node es6 boilerplate that provide running node application using es6+ syntax. it also include bundling the node application so all you code combined in one file with minification so if you want to develop it you just need node installed and that single file.
npm i -g minro
// goto you directory where you want to creat new project
cd ~
// run this command
minro generate project myapp
it will generate the application for you.
// go inside the directory
cd myapp
// run npm or yarn install
npm install
// or if you using yarn then
yarn install
// to run dev envoirment using npm
npm run start:dev
// to run dev envoirment using yarn
yarn start:dev
// to create distribution using npm
npm run build
// to create distribution using yarn
yarn build
// using npm
npm start
// using yarn
yarn start
there is file .env for envoirment variables you have to define variable like this
NODE_APP_API_URL=http://localhost:4000
using NODE_APP as a prefix then you b able to access then in you application
there is default config for lint you can change if you want that also include prettier to auto format you code
// using npm
npm run lint
using yarn
yarn lint
we using jest as testing framework that support es6+ syntax to do unit testing. to run the test
// using npm
npm test
// using yarn
yarn test
MIT