@productdevbook/nuxt-build-size
v0.0.4
Published
Nuxt module to measure build size
Downloads
17
Maintainers
Readme
Nuxt Typescript Bundle Template
This is a template for creating a Typescript bundle. It is based on the Typescript compiler with the Vite bundler.
Features
- [x] Nuxt
- [x] Typescript
- [x] Vite
- [x] Vue
- [x] Vue Macros
- [x] ESLint with Antfu's ESLint Config
- [x] Bumpp github changelog generator
- [x] Vitest
- [x] Pnpm
- [x] GitHub Actions
- [x] NPM Local Registry
- [x] Renovate
Usage
- To use this template, click the "Use this template" button above.
- Clone the repository to your local machine.
- Run
pnpm install
to install the dependencies. - Run
pnpm dev
to start the development server. - Run
pnpm dev:build
nuxt build playground nuxt app. - Run
pnpm dev:prepare
nuxt build playground nuxt app prepare. - Run
pnpm build
to build the bundle. - Run
dev:prepare
to build the bundle in watch mode. - Run
pnpm start
to start the bundle. - Run
pnpm lint
to lint the code. (You can also runpnpm lint:fix
to fix the linting errors.) - Run
pnpm test
to run the tests. (You can also runpnpm test:watch
to run the tests in watch mode.) - Run
pnpm release
to bump the version. Terminal will ask you to select the version type. And then it will automatically commit and push the changes. GitHub Actions will automatically publish git tags. NPM local registry will automatically publish the package.
Configuration
Renovate
Setup Github App for Renovate.
Sponsors
License
This project is licensed under the MIT License.