1.1.0 • Published 2 years ago

@tanishqmanuja/pkg-up v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago