tinyargs
Version:
A tiny and flexible command-line argument parser for Node.js and Deno.
49 lines (48 loc) • 1.1 kB
JSON
{
"name": "tinyargs",
"version": "0.1.4",
"description": "A tiny and flexible command-line argument parser for Node.js and Deno.",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"types": "./dist/index.d.ts",
"scripts": {
"build-fast": "tsup src/index.ts --format cjs,esm --target node14",
"build": "pnpm run build-fast -- --dts-resolve",
"test": "pnpm run build && ava",
"test-cov": "c8 -r lcov npm run test",
"prepublishOnly": "pnpm run build-fast",
"ts": "node -r sucrase/register"
},
"license": "MIT",
"devDependencies": {
"@egoist/prettier-config": "1.0.0",
"ava": "^4.0.0-rc.1",
"c8": "^7.10.0",
"prettier": "2.5.1",
"sucrase": "3.20.3",
"tsup": "5.11.1",
"typescript": "4.5.3",
"uvu": "0.5.2"
},
"engines": {
"node": ">=14"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"sucrase/register"
]
}
}