npm install
npm run dev
Everything inside src/lib
is part of the library, everything inside src/routes
is part of the preview app.
To build the library:
npm run package
To create a production version:
npm run build
You can preview the production build with npm run preview
.
Go into the package.json
file and increment the version then run the following:
npm publish