This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@tanishqmanuja/pkg-up

1.1.0 • Public • Published

PKG-UP

A tool for @vercel/pkg with resedit support

Installation

Install with npm

  npm install @tanishqmanuja/pkg-up

Install with yarn

  yarn add @tanishqmanuja/pkg-up

Usage

  • Init

    npx pkg-up init
    

    OR

    npx pkg-up i
    
  • Build (default config is pkg.config.json)

    npx pkg-up build
    

    OR

    npx pkg-up b
    
  • Build with config

    npx pkg-up build -c my.config.json
    

Example with package.json scripts

  "scripts": {
    "start": "node dist/index.js",
    "start:dev": "ts-node src/index.ts",
    "dev": "nodemon src/index/ts",
    "build": "rimraf dist && rollup -c rollup.config.js",
    "package": "npm run build && pkg-up b"
  },

Sample Config File

{
	"file": "dist/index.js",
	"icon": "app.ico",
	"name": "name",
	"description": "description",
	"company": "company",
	"version": "1.0.0",
	"copyright": "copyright",
	"pkg": {
		"targets": ["node16-win-x64"],
		"outputPath": "bin",
		"assets": [],
		"cache": ".pkg-cache",
		"compression": "gzip"
	}
}

compression and cache properties are optional

Readme

Keywords

Package Sidebar

Install

npm i @tanishqmanuja/pkg-up

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

29.6 kB

Total Files

8

Last publish

Collaborators

  • tanishqmanuja