Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 604 Bytes

testing-package.md

File metadata and controls

20 lines (15 loc) · 604 Bytes

How to test the npm package before publishing it:

Before you publish the package it is a good idea to test it. To do this you can use npm pack to create .tgz file. This file can be imported in another project to test the package. You can use the package by copying the .tgz file to the other project, and running the following commands:

npm pack

npm install vite-vue-package-skeleton-version.tgz

Where vite-vue-package-skeleton is the name of your package and version is the version number of the package.