🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

nanoweb-template

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoweb-template

Nanoweb projects template

latest
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

Nanoweb Template

Overview

Nanoweb Template is a minimal yet powerful project scaffolding tool designed for Nanoweb-based applications. It provides a structured environment with best practices for development, including ESLint, Rollup, and Vitest.

Features

  • Template-based configuration: Uses createRender.js to dynamically generate files.
  • Built-in ESLint setup: Supports React and Rollup configurations.
  • Automated build and testing: Uses Rollup for bundling and Vitest for testing.
  • Pre-configured package.json: Generates project-specific metadata and scripts.

Installation

To create a new project using this template, run:

git clone https://gitlab.com/nan.web/nanoweb-template my-package
cd my-package
node create.js

Or use the nanoweb-monorepo commands:

pnpm create-package my-package

Usage

Building the project

pnpm build

This command generates production-ready files in the dist or lib directory, depending on the configuration.

Running tests

pnpm test

This command executes unit tests using Vitest.

Linting the project

pnpm lint

Ensures code quality and enforces consistent styling using ESLint.

Contributing

Contributions are welcome! Please refer to CONTRIBUTING.md for guidelines on how to get involved.

License

This project is licensed under the ISC License. See LICENSE for more details.

Keywords

nano

FAQs

Package last updated on 08 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts