UNPKG

@gkalpak/cli-utils

Version:

A private collection of utilities for developing cli tools.

72 lines (71 loc) 2.43 kB
{ "name": "@gkalpak/cli-utils", "version": "0.2.0", "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": "watch \"npm run ~~test-unit\" out/ --wait 1", "~~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": { "chalk": "^4.1.2", "tslib": "^2.6.3" }, "devDependencies": { "@types/jasmine": "^5.1.4", "@types/node": "^20.14.10", "@types/shelljs": "^0.8.15", "@typescript-eslint/eslint-plugin": "^7.15.0", "@typescript-eslint/parser": "^7.15.0", "eslint": "^8.57.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jasmine": "^4.2.0", "jasmine": "^5.1.0", "npm-run-all": "^4.1.5", "shelljs": "^0.8.5", "source-map-support": "^0.5.21", "typescript": "^5.5.3", "watch": "^1.0.2" } }