@hkdigital/lib-sveltekit v0.0.3
HKdigital's lib Sveltekit
EARLY DEVELOPMENT RELEASE
This is a library for SvelteKit projects, that contains common code and components that we use to create our projects.
Using the library
The library can be installed as a normal NPM library.
pnpm add @hkdigital/lib-sveltekit
Building the showcase app
To build your library:
npm run package
To create a production version of your showcase app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
Developing
To develop this library, clone the repository and install the dependencies, then start the development server of the test runners. Checkout the package.json file for more details.
Everything inside src/lib
is part of the library, everything inside src/routes
is the showcase app of this library.
Publishing
The name of this library is @hkdigital/lib-sveltekit
and it is published on NPM. You need NPM credentials to publish in the scope @hkdigital
.
Contribute
If your wish to contribute to this library, please contact us HKdigital. Alternatively, the license permits you to fork the library and publish under an alternative name. Change the package name in package.json to do so.
npm login
npm version patch
npm publish --access public