params-frontend

0.2.1 • Public • Published

Params-frontend

Frontend for params-service

Description

This project is a micro frontend service, developed to work embedded to base-web-service.

Getting started

Install dependencies

  1. use yarn or npm install

Development

  1. Run the base-web-service project and make sure that this micro-service is located at the package.json file of the base-web-service
  2. Start coding. you don't need to run anything more here.

Testing

  1. with base-web-service running.
  2. run cypress
  • With yarn

    • yarn run cypress open
  • With npm

    • npx cypress open
      note: npx is included with npm > v5.2 or can be installed separately.

Note: you can run a specefic test with this commands:

  • With yarn

    • yarn run cypress run --spec cypress/path/to/spec
  • With npm

    • npx cypress run --spec cypress/path/to/spec

See the README of base-web-service for more information.

Publish package

When you finish the code, you will need to compile the package before publish to npm. So, follow this steps to public succesfully.
### Steps

  1. Make sure to commit all changes.
  2. Run: npm run publish:npm (to compile)
  3. After compile is done!, you will see a dist folder with the compile folders.
  4. Run: npm login (if you are not log in)
  5. Run: npm version x.x.x (To change the current version, example: 1.2.1)
  6. Run: npm publish (Finally publish)

Package Sidebar

Install

npm i params-frontend

Weekly Downloads

2

Version

0.2.1

License

ISC

Unpacked Size

17.9 kB

Total Files

27

Last publish

Collaborators

  • joseohana