nitroparty

0.0.7 • Public • Published

nitroparty

⚡️ nitro ⤫ partykit 🎈

⚠️ This is a work in progress, and should be considered experimental.

install

npm install partykit nitropack nitroparty --save-dev

setup

// nitro.config.ts
export default defineNitroConfig({
  extends: "nitroparty"
});
// partykit.json
{
  "$schema": "https://www.partykit.io/schema.json",
  "name": "my-party",
  "main": "./.output/server/index.mjs",
  "compatibilityDate": "2023-12-26",
  "build": {
    "command": "npx nitropack build",
    "watch": "routes"
  },
  "serve": {
    "build": "./client/index.ts",
    "path": "public"
  }
}
// package.json
{
  // ...
  "scripts": {
    "prepare": "nitropack prepare",
    "dev": "partykit dev",
    "deploy": "partykit deploy"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i nitroparty

Weekly Downloads

111

Version

0.0.7

License

ISC

Unpacked Size

7.3 kB

Total Files

7

Last publish

Collaborators

  • threepointone