UNPKG

zod-opts

Version:

node.js CLI option parser / validator using Zod

60 lines (59 loc) 1.55 kB
{ "name": "zod-opts", "version": "0.1.8", "description": "node.js CLI option parser / validator using Zod", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist" ], "keywords": [ "argument", "args", "option", "parser", "cli", "command" ], "author": "ndruger", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ndruger/zod-opts.git" }, "devDependencies": { "@types/jest": "^29.2.6", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^5.0.0", "eslint": "^8.0.1", "eslint-config-prettier": "^8.6.0", "eslint-config-standard-with-typescript": "latest", "eslint-plugin-import": "^2.25.2", "eslint-plugin-n": "^15.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-simple-import-sort": "^10.0.0", "expect-type": "^0.15.0", "husky": "^8.0.3", "jest": "^29.3.1", "prettier": "^2.8.3", "ts-jest": "^29.0.5", "typescript": "*" }, "dependencies": { "zod": "^3.20.2" }, "scripts": { "build": "tsc --build tsconfig.build.json", "watch": "tsc -w", "test": "jest --silent=false", "test_cov": "jest --silent=false --collect-coverage", "format": "prettier --write 'rule/**/*.yml' 'src/**/*.ts' 'test/**/*.ts'", "lint": "eslint src/**/*.ts test/**/*.ts", "fix": "eslint --fix src/**/*.ts test/**/*.ts", "prepare": "husky install", "prepublishOnly": "npm run test && npm run lint" }, "engines": { "node": ">=16" } }