UNPKG

args-json

Version:

Zero-dependency typed command-line argument parser

41 lines (40 loc) 1.2 kB
{ "name": "args-json", "version": "1.2.4", "description": "Zero-dependency typed command-line argument parser", "main": "dist/index.js", "scripts": { "build": "npm-run-all -s cleanup compile", "cleanup": "node -e \"require('fs').rmSync('dist', {force: true, recursive: true});\"", "compile": "npm-run-all -s compile:main compile:tests", "compile:main": "esbuild index.ts --bundle --outfile=dist/index.js --platform=neutral --minify", "compile:tests": "esbuild tests.ts --bundle --outfile=dist/tests.js --platform=neutral", "prepublishOnly": "npm-run-all -s build test", "preversion": "npm-run-all -s build test", "test": "node dist/tests.js --test=1" }, "repository": { "type": "git", "url": "git+https://github.com/axtk/args-json.git" }, "keywords": [ "args", "args-parser", "argv", "argv-parser", "cli", "cli-args", "json" ], "author": "axtk", "license": "ISC", "bugs": { "url": "https://github.com/axtk/args-json/issues" }, "homepage": "https://github.com/axtk/args-json#readme", "devDependencies": { "@types/node": "^20.12.12", "esbuild": "^0.21.2", "npm-run-all": "^4.1.5" } }