1 | {
|
2 | "name": "tinyargs",
|
3 | "version": "0.1.4",
|
4 | "description": "A tiny and flexible command-line argument parser for Node.js and Deno.",
|
5 | "publishConfig": {
|
6 | "access": "public"
|
7 | },
|
8 | "files": [
|
9 | "dist"
|
10 | ],
|
11 | "main": "./dist/index.js",
|
12 | "module": "./dist/index.mjs",
|
13 | "exports": {
|
14 | "require": "./dist/index.js",
|
15 | "import": "./dist/index.mjs"
|
16 | },
|
17 | "types": "./dist/index.d.ts",
|
18 | "scripts": {
|
19 | "build-fast": "tsup src/index.ts --format cjs,esm --target node14",
|
20 | "build": "pnpm run build-fast -- --dts-resolve",
|
21 | "test": "pnpm run build && ava",
|
22 | "test-cov": "c8 -r lcov npm run test",
|
23 | "prepublishOnly": "pnpm run build-fast",
|
24 | "ts": "node -r sucrase/register"
|
25 | },
|
26 | "license": "MIT",
|
27 | "devDependencies": {
|
28 | "@egoist/prettier-config": "1.0.0",
|
29 | "ava": "^4.0.0-rc.1",
|
30 | "c8": "^7.10.0",
|
31 | "prettier": "2.5.1",
|
32 | "sucrase": "3.20.3",
|
33 | "tsup": "5.11.1",
|
34 | "typescript": "4.5.3",
|
35 | "uvu": "0.5.2"
|
36 | },
|
37 | "engines": {
|
38 | "node": ">=14"
|
39 | },
|
40 | "ava": {
|
41 | "extensions": [
|
42 | "ts"
|
43 | ],
|
44 | "require": [
|
45 | "sucrase/register"
|
46 | ]
|
47 | }
|
48 | }
|