UNPKG

@ptkdev/node-cli-boilerplate

Version:

Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project

126 lines (125 loc) 4.88 kB
{ "name": "@ptkdev/node-cli-boilerplate", "displayName": "Node Command Line Interface Boilerplate", "description": "Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project", "version": "3.0.3", "main": "dist/cli/cli.js", "type": "module", "bin": { "node-cli-boilerplate": "dist/cli/cli.js", "@ptkdev/node-cli-boilerplate": "dist/cli/cli.js" }, "publishConfig": { "access": "public" }, "author": "Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)", "license": "MIT", "license-docs": "CC BY 4.0", "license-translations": "CC BY 4.0", "license-images": "CC BY-NC 4.0", "homepage": "https://github.com/ptkdev-boilerplate/node-cli-boilerplate", "repository": { "type": "git", "url": "https://github.com/ptkdev-boilerplate/node-cli-boilerplate.git" }, "bugs": { "url": "https://github.com/ptkdev-boilerplate/node-cli-boilerplate/issues" }, "engines": { "node": ">=18.0.0" }, "scripts": { "setup": "tsx scripts/setup.ts && tsx scripts/changelog.ts && npm run pre-commit && npm install", "start": "npm run release && node --no-warnings --experimental-specifier-resolution=node dist/cli/cli.js", "link": "npm link", "unlink": "npm unlink @ptkdev/node-cli-boilerplate", "dev": "DEBUG=true npm run git-hash && tsx scripts/configs.ts && tsx scripts/rmdist.ts && nodemon --exec 'tsx app/cli/cli.ts'", "build": "tsx scripts/configs.ts && tsx scripts/rmdist.ts && tsc", "release": "DEBUG=false npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly", "test": "jest app", "docs": "git submodule update --recursive && markserv ./README.md", "lint": "npm run lint-prettify && eslint . --cache --ext .ts,.js", "lint-fix": "npm run lint-prettify && eslint . --cache --ext .ts,.js --fix", "lint-prettify": "prettier --write --ignore-unknown '**/*.{ts,md,json}' .all-contributorsrc .all-shieldsrc", "git-set-upstream": "git remote add upstream git@github.com:ptkdev-boilerplate/node-cli-boilerplate.git && git fetch upstream", "git-pull-upstream": "git pull upstream main && git pull upstream beta && git pull upstream nightly", "git-pull": "git pull --recursive", "git-hash": "tsx scripts/githash.ts", "git-ignore-reset": "git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"", "github-workflow-next-version": "tsx scripts/version.ts", "github-workflow-changelog": "tsx scripts/changelog_release.ts", "npm-publish-main": "git checkout main && npm publish", "npm-publish-beta": "git checkout beta && npm publish --tag beta", "npm-publish-nightly": "git checkout nightly && npm publish --tag nightly", "fetch-shields": "tsx scripts/dotfiles.ts", "contributors-generate": "npm run fetch-shields && all-contributors generate", "all-shields-generate": "all-shields-generate", "pre-commit": "tsx scripts/copyright.ts && npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test", "pkg-clean": "rm -rf node_modules package-lock.json && npm install", "pkg-update": "npm update", "pkg-upgrade": "npx --yes npm-check-updates -u && npm run pkg-legacy", "pkg-upgrade-manually": "npx npm-check-updates --interactive && npm run pkg-legacy", "pkg-legacy": "npm install eslint@7 @typescript-eslint/eslint-plugin@5 @typescript-eslint/parser@5 eslint-plugin-jest@27 @types/yargs@16 yargs@16 --legacy-peer-deps && npm install", "prepare": "ts-patch install -s" }, "dependencies": { "@ptkdev/logger": "^1.8.0" }, "devDependencies": { "@ptkdev/all-shields-cli": "^2.0.2", "@types/jest": "^29.5.12", "@types/node": "^20.14.0", "@types/shelljs": "^0.8.15", "@types/yargs": "^16.0.9", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "all-contributors-cli": "^6.26.1", "dotenv": "^16.4.5", "eslint": "^7.32.0", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-jsdoc": "^48.2.7", "husky": "^9.0.11", "jest": "^29.7.0", "json": "^11.0.0", "markserv": "^1.17.4", "node-fetch": "^3.3.2", "nodemon": "^3.1.3", "pm2": "^5.4.0", "prettier": "^3.3.0", "replace-in-file": "^7.2.0", "shelljs": "^0.8.5", "ts-jest": "^29.1.4", "ts-patch": "^3.1.2", "tsx": "^4.11.2", "typescript": "^5.4.5", "typescript-transform-paths": "^3.4.7", "yargs": "^16.2.0" }, "keywords": [ "ptkdev", "npm-library", "make-npm-library", "create-npm-library", "npm-module-sample", "npx-example", "npx-cli", "node", "node-module", "node-library", "node-cli", "node-cli-bolerplate", "node-line-interface", "node-cmd", "npx", "node-command-line", "npm-library", "npm-cli", "npm-cli-bolerplate", "npm-line-interface", "npm-command-line", "command-line-tool", "boilerplate", "github-template" ], "contributors": [] }