bocchi
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

bocchi

A cli build tool for userscript

Install

# npm
npm i bocchi -D

# yarn
yarn add bocchi -D

# pnpm
pnpm i bocchi -D

Create with template

# npm
npm create bocchi-app <name>

# yarn
yarn create bocchi-app <name>

# pnpm
pnpm create bocchi-app <name>

Usage

  1. create meta.template
// ==UserScript==
// @name
// @namespace    #homepage#
// @version      #version#
// @description  #description#
// @author
// @match        https://example.com/*
// @grant        none
// @downloadURL
// @updateURL
// ==/UserScript==
  1. write entry src/index.(j|t)s
  2. add scripts to package.json
{
  "scripts": {
    "dev": "bocchi dev",
    "build": "bocchi build"
  }
}
  1. npm run dev for development, npm run build for bundle production

Install

npm i bocchi

DownloadsWeekly Downloads

16

Version

1.1.1

License

MIT

Unpacked Size

10.9 kB

Total Files

8

Last publish

Collaborators

  • ironkinoko