yini-cli
Version:
CLI for parsing and validating YINI config files: type-safe values, nested sections, comments, minimal syntax noise, and optional strict mode.
100 lines (99 loc) • 3.08 kB
JSON
{
"name": "yini-cli",
"version": "1.0.2-beta",
"description": "CLI for parsing and validating YINI config files: type-safe values, nested sections, comments, minimal syntax noise, and optional strict mode.",
"keywords": [
"yini",
"cli",
"config",
"configuration",
"parser",
"validator",
"ini",
"ini alternative",
"json",
"type-safe",
"nested sections",
"command-line",
"strict mode",
"nodejs",
"typescript"
],
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js"
}
},
"bin": {
"yini": "./dist/index.js"
},
"homepage": "https://github.com/YINI-lang",
"license": "Apache-2.0",
"files": [
"dist/",
"README.md",
"LICENSE",
"sample.yini"
],
"repository": {
"type": "git",
"url": "https://github.com/YINI-lang/yini-cli.git"
},
"private": false,
"scripts": {
"start": "node ./bin/yini.js",
"start:dev": "cross-env NODE_ENV=development isDev=1 tsx src/index.ts",
"start:dev:debug": "cross-env isDebug=1 npm run start:dev",
"run:version": "npm run start -- --version",
"run:info": "npm run start -- info",
"run:parse": "npm run start -- parse sample.yini",
"test:smoke": "vitest tests/smoke",
"test:general": "vitest tests/general",
"test": "vitest run",
"test:debug": "cross-env isDebug=1 vitest run --reporter=verbose",
"test:general:debug": "cross-env isDebug=1 npm run test:general",
"test:watch": "vitest --watch",
"ci:test": "vitest run --reporter=verbose",
"ci:test:smoke": "vitest run tests/smoke --reporter=verbose",
"lint": "eslint src --ext .ts",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"build": "tsc",
"clean": "rm -rf dist",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm test && npm run build"
},
"author": "Marko K. Seppänen",
"dependencies": {
"commander": "^14.0.0",
"yini-parser": "^1.0.2-beta"
},
"devDependencies": {
"@eslint/js": "^9.31.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@types/node": "^22.15.3",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"cross-env": "^7.0.3",
"eslint": "^9.31.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.0",
"execa": "^9.6.0",
"husky": "^9.1.7",
"lint-staged": "^16.0.0",
"prettier": "^3.5.3",
"tsx": "^4.7.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"lint-staged": {
"src/**/*.{js,jsx,json,ts,tsx,css,scss}": [
"prettier --config ./.prettierrc --write"
]
},
"engines": {
"node": ">=13"
}
}