UNPKG

@gkalpak/cli-utils

Version:

A private collection of utilities for developing cli tools.

71 lines (70 loc) 2.46 kB
{ "name": "@gkalpak/cli-utils", "version": "0.3.3", "description": "A private collection of utilities for developing cli tools.", "keywords": [ "Private", "Utility" ], "main": "out/lib/index.js", "types": "out/lib/index.d.ts", "scripts": { "prebuild": "npm run clean-up", "build": "npm run ~~build", "prebuild-watch": "npm run prebuild", "build-watch": "npm run ~~build-watch", "clean-up": "node --eval \"require('shelljs/global'); set('-e'); rm('-rf', 'out/');\"", "predev": "npm run build || true", "dev": "run-p ~~build-watch ~~test-unit-watch", "lint": "run-p ~~lint-code ~~typecheck-scripts", "prerelease": "npm test", "release": "node out/bin/run \"npm version \\${*:patch}\"", "postrelease": "npm publish", "pretest": "npm run build", "test": "run-s ~~test-pkg lint ~~test-unit ~~test-e2e", "pretest-e2e": "npm run build", "test-e2e": "npm run ~~test-e2e", "pretest-unit": "npm run build", "test-unit": "npm run ~~test-unit", "postversion": "git push && git push --tags", "~~build": "tsc --build tsconfig.json", "~~build-watch": "npm run ~~build -- --watch", "~~lint-code": "eslint ./", "~~test-e2e": "jasmine out/test/e2e/**/*.spec.js", "~~test-pkg": "node scripts/test-pkg", "~~test-unit": "jasmine out/test/unit/**/*.spec.js", "~~test-unit-watch": "node --watch-path=out/ -- node_modules/jasmine/bin/jasmine out/test/unit/**/*.spec.js", "~~typecheck-scripts": "tsc --project jsconfig.json" }, "bin": { "gkcu-expand-cmd": "out/bin/expand-cmd.js", "gkcu-run": "out/bin/run.js" }, "license": "Unlicense", "author": "gkalpak <kalpakas.g@gmail.com>", "homepage": "https://github.com/gkalpak/cli-utils#readme", "repository": { "type": "git", "url": "git+https://github.com/gkalpak/cli-utils.git" }, "dependencies": { "picocolors": "^1.1.1", "tslib": "^2.8.1" }, "devDependencies": { "@types/jasmine": "^6.0.0", "@types/node": "^25.4.0", "@types/shelljs": "^0.10.0", "@typescript-eslint/eslint-plugin": "^8.57.0", "@typescript-eslint/parser": "^8.57.0", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jasmine": "^4.2.2", "jasmine": "^6.1.0", "npm-run-all": "^4.1.5", "shelljs": "^0.10.0", "source-map-support": "^0.5.21", "typescript": "^5.9.3" } }