@natsuneko-laboratory/vpmpackage
v0.1.3
Published
Operate VPMPackage from Node.js
Downloads
3
Readme
@natsuneko-laboratory/vpmpackage
Create a VPMPackage from Node.js, written in TypeScript. No platform dependency. No additional instructions.
Requirements
- Node.js >= 16
Install
$ yarn add @natsuneko-laboratory/vpmpackage
Usage
import { archive } from "@natsuneko-laboratory/vpmpackage";
await archive({
name: "cat.natsuneko.asset-lens", // package name that archived as ...
package: "Assets/NatsunekoLaboratory/AssetLens/package.json", // package.json path of VPM package
dist: "./dist/package.zip", // output filename
});
Development
# prepare
$ yarn install
# publish
$ npm publish --access public
License
MIT by @6jz