@zef163/demo
v2.1.4
Published
Frontend Developer tasks. This is demo NPM package
Downloads
6
Readme
Develop
This is demo NPM package.
Get started using Git
- Clone a remote repository and go to folder
$ git clone https://github.com/Zef163/develop.git
$ cd develop
- Install all dependencies from package.json
$ npm install --only=prod
$ npm install --only=dev
- Run command from list below
$ npm run start
- Run application in production mode (http://localhost:3000/)
$ npm run dev
- Run application in development mode
$ npm run build
- Build application for production
$ npm run test
- Run all tests
Get started using Docker
Install Docker Community Edition
Install Docker Compose
Clone a remote repository and go to folder
$ git clone https://github.com/Zef163/develop.git
$ cd develop
- Run Docker container
$ [sudo] docker-compose up
- Open http://localhost:3000/ in your browser for start use application
Get started using Node.js and NPM
Install Node.js LTS Version
Install NPM package and open application folder
$ npm install @zef163/demo
$ cd node_modules/@zef163/demo
- Run command from list below
$ npm run start
- Run application in production mode (http://localhost:3000/)
$ npm run dev
- Run application in development mode
$ npm run build
- Build application for production